System.Security.Policy (mscorlib.dll)sealed class
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.

Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: