PublisherIdentityPermission.Certificate Property

 

Gets or sets an Authenticode X.509v3 certificate that represents the identity of the software publisher.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public X509Certificate Certificate { get; set; }

Property Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate

An X.509 certificate representing the identity of the software publisher.

Exception Condition
ArgumentNullException

The Certificate is null.

ArgumentException

The Certificate is not a valid certificate.

NotSupportedException

The property cannot be set because the identity is ambiguous.

.NET Framework
Available since 1.1
Return to top
Show: