Import()

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

Arguments

ParameterTypeDescription
filenameconst String&The certificate file name.
passwordconst SecureStringPtr&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

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

Arguments

ParameterTypeDescription
filenameconst String&The certificate file name.
passwordconst String&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

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

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&The X.509 certificate data.
passwordconst SecureStringPtr&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

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

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&The certificate file name.
passwordconst String&The password required to access the certificate data.
key_storage_flagsX509KeyStorageFlags

X509Certificate2::Import(const String&) method

Imports information from the specified certificate file.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const String &filename) override

Arguments

ParameterTypeDescription
filenameconst String&The certificate file name.

X509Certificate2::Import(const ByteArrayPtr&) method

Imports information from the specified certificate data.

void System::Security::Cryptography::X509Certificates::X509Certificate2::Import(const ByteArrayPtr &data) override

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&The certificate file name.

See Also