Publisher Class
Provides the Authenticode X.509v3 digital signature of a code assembly as evidence for policy evaluation. This class cannot be inherited.
Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
The Publisher type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a new object that is a copy of the current instance. (Overrides EvidenceBase.Clone().) |
![]() | Copy | Creates an equivalent copy of the Publisher. |
![]() | CreateIdentityPermission | Creates an identity permission that corresponds to the current instance of the Publisher class. |
![]() | Equals | Compares the current Publisher to the specified object for equivalence. (Overrides Object.Equals(Object).) |
![]() | GetHashCode | Gets the hash code of the current Certificate. (Overrides Object.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string representation of the current Publisher. (Overrides Object.ToString().) |
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
