public sealed class Publisher : IIdentityPermissionFactory, IBuiltInEvidence {
// Public Constructors
public Publisher(System.Security.Cryptography.X509Certificates.X509Certificate cert);
// Public Instance Properties
public X509Certificate Certificate{get; }
// Public Instance Methods
public object Copy( );
public IPermission CreateIdentityPermission(Evidence evidence);
// implements IIdentityPermissionFactory
public override bool Equals(object o);
// overrides object
public override int GetHashCode( );
// overrides object
public override string ToString( );
// overrides object
}
This evidence class represents the Authenticode X.509v3 digital
signature used to sign an assembly. The digital signature is passed
as a
System.Security.Cryptography.X509Certificates.X509Certificate
argument to the Publisher constructor and is
accessible after creation through the Certificate
property.
The PublisherMembershipCondition class uses
Publisher evidence during policy resolution to
evaluate whether an assembly or application domain qualifies for
membership of a CodeGroup.
Because the Publisher class implements the
IIdentityPermissionFactory interface, an assembly
or application domain with Publisher evidence will
contain an appropriately configured
System.Security.Permissions.PublisherIdentityPermission
object in its grant set.