X509Certificate2.Import Method
.NET Framework 2.0
Populates an X509Certificate2 object with the certificate information provided.
| Name | Description |
|---|---|
| X509Certificate2.Import (Byte[]) | Populates an X509Certificate2 object with data from a byte array. |
| X509Certificate2.Import (String) | Populates an X509Certificate2 object with information from a certificate file. |
| X509Certificate2.Import (Byte[], SecureString, X509KeyStorageFlags) | Populates an X509Certificate2 object using data from a byte array, a password, and a key storage flag. |
| X509Certificate2.Import (Byte[], String, X509KeyStorageFlags) | Populates an X509Certificate2 object using data from a byte array, a password, and flags for determining how to import the private key. |
| X509Certificate2.Import (String, SecureString, X509KeyStorageFlags) | Populates an X509Certificate2 object with information from a certificate file, a password, and a key storage flag. |
| X509Certificate2.Import (String, String, X509KeyStorageFlags) | Populates an X509Certificate2 object with information from a certificate file, a password, and a X509KeyStorageFlags value. |