System::Security::Cryptography::X509Certificates::X509Certificate2::Import method

X509Certificate2::Import(const String&, const SecureStringPtr&, X509KeyStorageFlags) method

Imports information from the specified certificate file.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const String &filename, const SecureStringPtr &password, X509KeyStorageFlags key_storage_flags) override
ParameterTypeDescription
filenameconst String&The certificate file name.
passwordconst SecureStringPtr&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

See Also

X509Certificate2::Import(const String&, const String&, X509KeyStorageFlags) method

Imports information from the specified certificate file.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const String &filename, const String &password, X509KeyStorageFlags key_storage_flags) override
ParameterTypeDescription
filenameconst String&The certificate file name.
passwordconst String&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

See Also

X509Certificate2::Import(const ByteArrayPtr&, const SecureStringPtr&, X509KeyStorageFlags) method

Imports information from the specified certificate data.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const ByteArrayPtr &data, const SecureStringPtr &password, X509KeyStorageFlags key_storage_flags) override
ParameterTypeDescription
dataconst ByteArrayPtr&The X.509 certificate data.
passwordconst SecureStringPtr&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

See Also

X509Certificate2::Import(const ByteArrayPtr&, const String&, X509KeyStorageFlags) method

Imports information from the specified certificate data.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const ByteArrayPtr &data, const String &password, X509KeyStorageFlags key_storage_flags) override
ParameterTypeDescription
dataconst ByteArrayPtr&The certificate file name.
passwordconst String&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

See Also

X509Certificate2::Import(const String&) method

Imports information from the specified certificate file.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const String &filename) override
ParameterTypeDescription
filenameconst String&The certificate file name.

See Also

X509Certificate2::Import(const ByteArrayPtr&) method

Imports information from the specified certificate data.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const ByteArrayPtr &data) override
ParameterTypeDescription
dataconst ByteArrayPtr&The certificate file name.

See Also