System.Security.Permissions (mscorlib.dll)sealed class
public sealed class PublisherIdentityPermission : System.Security.CodeAccessPermission : IBuiltInPermission {
// Public Constructors
   public PublisherIdentityPermission(PermissionState state);
   public PublisherIdentityPermission(System.Security.Cryptography.X509Certificates.X509Certificate certificate);
// Public Instance Properties
   public X509Certificate Certificate{set; get; }
// Public Instance Methods
   public override IPermission Copy(  );        
// overrides CodeAccessPermission
   public override void FromXml(System.Security.SecurityElement esd);
 // overrides CodeAccessPermission
   public override IPermission Intersect(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public override bool IsSubsetOf(System.Security.IPermission target);
 // overrides CodeAccessPermission
   public override SecurityElement ToXml(  );   
// overrides CodeAccessPermission
   public override IPermission Union(System.Security.IPermission target);
 // overrides CodeAccessPermission

The PublisherIdentityPermission class represents the System.Security.Policy.Publisher evidence that an assembly or application domain presented to the runtime. The PublisherIdentityPermission class enables code to invoke imperative security statements based on the publisher certificate used to sign an assembly. For example, code can use the PublisherIdentityPermission class to ensure that only code signed by their company or a trusted third party can call the methods of their classes.

The PublisherIdentityPermission class provides a constructor that takes a System.Security.Cryptography.X509Certificates.X509Certificate object containing an X509 certificate, which represents the publisher that signed an assembly. The X509Certificate object can be manipulated after construction through the Certificate property.


System.Object System.Security.CodeAccessPermission(System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.IStackWalk) PublisherIdentityPermission(IBuiltInPermission)

    Part V: API Quick Reference