System.Security.Cryptography.X509Certificates.X509Certificate2: Method Members

The methods of System.Security.Cryptography.X509Certificates.X509Certificate2 are listed below. For a list of all members, see the X509Certificate2 Members list.

See Also: Inherited members from System.Security.Cryptography.X509Certificates.X509Certificate

Public Methods

static
GetCertContentType(byte[]) : X509ContentType

Indicates the type of certificate contained in a byte array.

static
GetCertContentType(string) : X509ContentType

Indicates the type of certificate contained in a file.

GetNameInfo(X509NameType, bool) : string

Gets the subject and issuer names from a certificate.

override
Import(byte[])

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object with data from a byte array.

override
Import(string)

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object with information from a certificate file.

override
Import(byte[], System.Security.SecureString, X509KeyStorageFlags)

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object using data from a byte array, a password, and a key storage flag.

override
Import(byte[], string, X509KeyStorageFlags)

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object using data from a byte array, a password, and flags for determining how to import the private key.

override
Import(string, System.Security.SecureString, X509KeyStorageFlags)

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object with information from a certificate file, a password, and a key storage flag.

override
Import(string, string, X509KeyStorageFlags)

Populates an System.Security.Cryptography.X509Certificates.X509Certificate2 object with information from a certificate file, a password, and a System.Security.Cryptography.X509Certificates.X509KeyStorageFlags value.

override
Reset()

Resets the state of an System.Security.Cryptography.X509Certificates.X509Certificate2 object.

override
ToString() : string

Displays an X.509 certificate in text format.

override
ToString(bool) : string

Displays an X.509 certificate in text format.

Verify() : bool

Performs a X.509 chain validation using basic validation policy.