PublisherIdentityPermissionAttribute

PublisherIdentityPermissionAttributeserializable

System.Security.Permissions (mscorlib.dll)sealed class
public sealed class PublisherIdentityPermissionAttribute : CodeAccessSecurityAttribute { // Public Constructors    public PublisherIdentityPermissionAttribute(SecurityAction action); // Public Instance Properties    public string CertFile{set; get; }    public string SignedFile{set; get; }    public string X509Certificate{set; get; } // Public Instance Methods    public override IPermission CreatePermission(  ); // overrides SecurityAttribute }

PublisherIdentityPermissionAttribute provides declarative syntax support for the PublisherIdentityPermission class. The publisher certificate that represents the publisher of an assembly can be specified using three different properties. The CertFile property takes the name of a certificate file containing the publisher's X.509 certificate. The SignedFile property takes the name of a file that is already signed with the publisher's certificate (which will be extracted). The X509Certificate property takes a System.String containing a hexadecimal representation of the publisher's certificate.

Hierarchy

System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute PublisherIdentityPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method



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

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net