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
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.
Initializes a new instance of the Publisher class with the Authenticode X.509v3 certificate containing the publisher's public key.
Gets the publisher's Authenticode X.509v3 certificate.
Creates a new object that is a copy of the current instance.
Creates an equivalent copy of the Publisher.
Creates an identity permission that corresponds to the current instance of the Publisher class.
Compares the current Publisher to the specified object for equivalence.
Gets the hash code of the current Certificate.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string representation of the current Publisher.