Publisher Class

Definition

Provides the Authenticode X.509v3 digital signature of a code assembly as evidence for policy evaluation. This class cannot be inherited.

public ref class Publisher sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class Publisher : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
type Publisher = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
Public NotInheritable Class Publisher
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Inheritance
Publisher
Attributes
Implements

Remarks

The presence of Publisher evidence produces a PublisherIdentityPermission in the grant set. If there is a Demand for PublisherIdentityPermission, the PublisherIdentityPermission that corresponds to the Publisher evidence will be compared with the demanded permission.

Publisher evidence is based on Authenticode X.509v3 signatures.

By default, code access security (CAS) does not check for Publisher evidence. Unless your computer has a custom code group based on the PublisherMembershipCondition class, you can improve performance by bypassing Authenticode signature verification. This is accomplished by configuring the runtime to not provide Publisher evidence for CAS. For more information about how to configure this option and which applications can use it, see the <generatePublisherEvidence> element.

Constructors

Publisher(X509Certificate)

Initializes a new instance of the Publisher class with the Authenticode X.509v3 certificate containing the publisher's public key.

Properties

Certificate

Gets the publisher's Authenticode X.509v3 certificate.

Methods

Clone()

Creates a new object that is a copy of the current instance.

Copy()

Creates an equivalent copy of the Publisher.

CreateIdentityPermission(Evidence)

Creates an identity permission that corresponds to the current instance of the Publisher class.

Equals(Object)

Compares the current Publisher to the specified object for equivalence.

GetHashCode()

Gets the hash code of the current Certificate.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string representation of the current Publisher.

Applies to

See also