System.Security.Policy.Publisher Class

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

See Also: Publisher Members


public sealed class Publisher : EvidenceBase, IBuiltInEvidence, IIdentityPermissionFactory


The presence of System.Security.Policy.Publisher evidence produces a System.Security.Permissions.PublisherIdentityPermission in the grant set. If there is a System.Security.CodeAccessPermission.Demand for System.Security.Permissions.PublisherIdentityPermission, the System.Security.Permissions.PublisherIdentityPermission that corresponds to the System.Security.Policy.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 System.Security.Policy.Publisher evidence. Unless your computer has a custom code group based on the System.Security.Policy.PublisherMembershipCondition class, you can improve performance by bypassing Authenticode signature verification. This is accomplished by configuring the runtime to not provide System.Security.Policy.Publisher evidence for CAS. For more information about how to configure this option and which applications can use it, see the <generatePublisherEvidence> element.


Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,