Name
Publisher
Synopsis
public sealed class Publisher : IIdentityPermissionFactory, IBuiltInEvidence { // Public Constructors public Publisher(System.Security.Cryptography.X509Certificates.X509Certificatecert
); // Public Instance Properties public X509Certificate Certificate{get; } // Public Instance Methods public object Copy( ); public IPermission CreateIdentityPermission(Evidenceevidence
); // implements IIdentityPermissionFactory public override bool Equals(objecto
); // 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.
Get Programming .NET Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.