X509Certificate2 Constructor
.NET Framework 4.5
Initializes a new instance of the X509Certificate2 class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
X509Certificate2() | Initializes a new instance of the X509Certificate2 class. |
|
X509Certificate2(Byte[]) | Initializes a new instance of the X509Certificate2 class using information from a byte array. |
|
X509Certificate2(IntPtr) | Initializes a new instance of the X509Certificate2 class using an unmanaged handle. |
|
X509Certificate2(String) | Initializes a new instance of the X509Certificate2 class using a certificate file name. |
|
X509Certificate2(X509Certificate) | Initializes a new instance of the X509Certificate2 class using an X509Certificate object. |
|
X509Certificate2(Byte[], SecureString) | Initializes a new instance of the X509Certificate2 class using a byte array and a password. |
|
X509Certificate2(Byte[], String) | Initializes a new instance of the X509Certificate2 class using a byte array and a password. |
|
X509Certificate2(SerializationInfo, StreamingContext) | Initializes a new instance of the X509Certificate2 class using the specified serialization and stream context information. |
|
X509Certificate2(String, SecureString) | Initializes a new instance of the X509Certificate2 class using a certificate file name and a password. |
|
X509Certificate2(String, String) | Initializes a new instance of the X509Certificate2 class using a certificate file name and a password used to access the certificate. |
|
X509Certificate2(Byte[], SecureString, X509KeyStorageFlags) | Initializes a new instance of the X509Certificate2 class using a byte array, a password, and a key storage flag. |
|
X509Certificate2(Byte[], String, X509KeyStorageFlags) | Initializes a new instance of the X509Certificate2 class using a byte array, a password, and a key storage flag. |
|
X509Certificate2(String, SecureString, X509KeyStorageFlags) | Initializes a new instance of the X509Certificate2 class using a certificate file name, a password, and a key storage flag. |
|
X509Certificate2(String, String, X509KeyStorageFlags) | Initializes a new instance of the X509Certificate2 class using a certificate file name, a password used to access the certificate, and a key storage flag. |