X509Certificate Members

Represents an X509Certificate. This class cannot be inherited.

The following tables list the members exposed by the X509Certificate type.

Public Constructors

  Name Description
X509Certificate Overloaded.  

Top

Public Properties

  Name Description
public property FriendlyDisplayName  
public property IsCurrent Gets a value indicating whether the certificate is current, that is, has not expired.
public property Key Gets the private key for the certificate.
public property PublicKey Gets the public key derived from the certificate's data. This key cannot be used to sign or decrypt data.
public property SimpleDisplayName  
public property SubjectAlternativeName Gets the subject alternative name for the X.509 certificate.
public property SupportsDataEncryption Gets a value indicating whether the certificate can be used for encrypting and decrypting messages.
public property SupportsDigitalSignature Gets a value indicating whether the certificate can be used for digital signatures.

Top

Public Methods

  Name Description
public method static CreateCertFromFile Creates a new instance of the X509Certificate class using the specified certificate file.
public method static CreateCertFromSignedFile Creates a new instance of the X509Certificate class using the specified signed file.
public method Dispose Releases all resources used by the X509Certificate.
public method Equals  Overloaded. (inherited from X509Certificate )
public method static FromBase64String Creates a new instance of the X509Certificate class using the specified string representation.
public method GetCertHash  (inherited from X509Certificate )
public method GetCertHashString  (inherited from X509Certificate )
public method GetEffectiveDateString  (inherited from X509Certificate )
public method GetExpirationDateString  (inherited from X509Certificate )
public method GetFormat  (inherited from X509Certificate )
public method GetHashCode Overridden. Returns a hash code for the X509Certificate.
public method GetIssuerName  (inherited from X509Certificate )
public method GetKeyAlgorithm  (inherited from X509Certificate )
public method GetKeyAlgorithmParameters  (inherited from X509Certificate )
public method GetKeyAlgorithmParametersString  (inherited from X509Certificate )
public method GetKeyIdentifier Overloaded.  
public method GetKeyIdentifierFromCAPI  
public method GetKeyIdentifierFromExtension  
public method GetKeyIdentifierFromPublicKey  
public method GetName  (inherited from X509Certificate )
public method GetPublicKey  (inherited from X509Certificate )
public method GetPublicKeyString  (inherited from X509Certificate )
public method GetRawCertData  (inherited from X509Certificate )
public method GetRawCertDataString  (inherited from X509Certificate )
public method GetSerialNumber  (inherited from X509Certificate )
public method GetSerialNumberString  (inherited from X509Certificate )
public method GetType  (inherited from Object )
public method ToBase64String Returns a Base64-encoded representation of the certificate.
public method ToString  Overloaded. (inherited from X509Certificate )

Top

See Also

Reference

X509Certificate Class
Microsoft.Web.Services2.Security.X509 Namespace