X509Certificate2.Import Method

 

Populates an X509Certificate2 object with the certificate information provided.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodImport(Byte[])

Populates an X509Certificate2 object with data from a byte array.(Overrides X509Certificate.Import(Byte[]).)

System_CAPS_pubmethodImport(Byte[], SecureString, X509KeyStorageFlags)

Populates an X509Certificate2 object using data from a byte array, a password, and a key storage flag.(Overrides X509Certificate.Import(Byte[], SecureString, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(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.(Overrides X509Certificate.Import(Byte[], String, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(String)

Populates an X509Certificate2 object with information from a certificate file.(Overrides X509Certificate.Import(String).)

System_CAPS_pubmethodImport(String, SecureString, X509KeyStorageFlags)

Populates an X509Certificate2 object with information from a certificate file, a password, and a key storage flag.(Overrides X509Certificate.Import(String, SecureString, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(String, String, X509KeyStorageFlags)

Populates an X509Certificate2 object with information from a certificate file, a password, and a X509KeyStorageFlags value.(Overrides X509Certificate.Import(String, String, X509KeyStorageFlags).)

Return to top
Show: