X509Certificate Methods
.NET Framework 4
The X509Certificate type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateFromCertFile | Creates an X.509v3 certificate from the specified PKCS7 signed file. |
|
CreateFromSignedFile | Creates an X.509v3 certificate from the specified signed file. |
|
Equals(Object) | Compares two X509Certificate objects for equality. (Overrides Object.Equals(Object).) |
|
Equals(X509Certificate) | Compares two X509Certificate objects for equality. |
|
Export(X509ContentType) | Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values. |
|
Export(X509ContentType, SecureString) | Exports the current X509Certificate object to a byte array using the specified format and a password. |
|
Export(X509ContentType, String) | Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values, and using the specified password. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FormatDate | Converts the specified date and time to a string. |
|
GetCertHash | Returns the hash value for the X.509v3 certificate as an array of bytes. |
|
GetCertHashString | Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string. |
|
GetEffectiveDateString | Returns the effective date of this X.509v3 certificate. |
|
GetExpirationDateString | Returns the expiration date of this X.509v3 certificate. |
|
GetFormat | Returns the name of the format of this X.509v3 certificate. |
|
GetHashCode | Returns the hash code for the X.509v3 certificate as an integer. (Overrides Object.GetHashCode().) |
|
GetIssuerName | Obsolete. Returns the name of the certification authority that issued the X.509v3 certificate. |
|
GetKeyAlgorithm | Returns the key algorithm information for this X.509v3 certificate. |
|
GetKeyAlgorithmParameters | Returns the key algorithm parameters for the X.509v3 certificate. |
|
GetKeyAlgorithmParametersString | Returns the key algorithm parameters for the X.509v3 certificate. |
|
GetName | Obsolete. Returns the name of the principal to which the certificate was issued. |
|
GetPublicKey | Returns the public key for the X.509v3 certificate. |
|
GetPublicKeyString | Returns the public key for the X.509v3 certificate. |
|
GetRawCertData | Returns the raw data for the entire X.509v3 certificate. |
|
GetRawCertDataString | Returns the raw data for the entire X.509v3 certificate. |
|
GetSerialNumber | Returns the serial number of the X.509v3 certificate. |
|
GetSerialNumberString | Returns the serial number of the X.509v3 certificate. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
Import(Byte[]) | Populates the X509Certificate object with data from a byte array. |
|
Import(String) | Populates the X509Certificate object with information from a certificate file. |
|
Import(Byte[], SecureString, X509KeyStorageFlags) | Populates an X509Certificate object using data from a byte array, a password, and a key storage flag. |
|
Import(Byte[], String, X509KeyStorageFlags) | Populates the X509Certificate object using data from a byte array, a password, and flags for determining how the private key is imported. |
|
Import(String, SecureString, X509KeyStorageFlags) | Populates an X509Certificate object with information from a certificate file, a password, and a key storage flag. |
|
Import(String, String, X509KeyStorageFlags) | Populates the X509Certificate object with information from a certificate file, a password, and a X509KeyStorageFlags value. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Reset | Resets the state of the X509Certificate2 object. |
|
ToString() | Returns a string representation of the current X509Certificate object. (Overrides Object.ToString().) |
|
ToString(Boolean) | Returns a string representation of the current X509Certificate object, with extra information, if specified. |
| Name | Description | |
|---|---|---|
|
IDeserializationCallback.OnDeserialization | Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete. |
|
ISerializable.GetObjectData | Gets serialization information with all the data needed to recreate an instance of the current X509Certificate object. |