X509Certificate2()

X509Certificate2::X509Certificate2() constructor

Constructs empty X509Certificate2.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2()

X509Certificate2::X509Certificate2(const String&) constructor

Constructor.

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

Arguments

ParameterTypeDescription
filenameconst String&File to load certificate from.

X509Certificate2::X509Certificate2(const SharedPtr<X509Certificate>&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const SharedPtr<X509Certificate> &cert)

Arguments

ParameterTypeDescription
certconst SharedPtr<X509Certificate>&An X509Certificate object.

X509Certificate2::X509Certificate2(const ByteArrayPtr&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate.

X509Certificate2::X509Certificate2(const ByteArrayPtr&, const String&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data, const String &password)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate.
passwordconst String&Certificate password.

X509Certificate2::X509Certificate2(const ByteArrayPtr&, const SecureStringPtr&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data, const SecureStringPtr &password)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate.
passwordconst SecureStringPtr&Certificate password.

X509Certificate2::X509Certificate2(const ByteArrayPtr&, const String&, X509KeyStorageFlags) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data, const String &password, X509KeyStorageFlags key_storage_flags)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate.
passwordconst String&Certificate password.
key_storage_flagsX509KeyStorageFlagsFlags indicating how to store key.

X509Certificate2::X509Certificate2(const ByteArrayPtr&, const SecureStringPtr&, X509KeyStorageFlags) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data, const SecureStringPtr &password, X509KeyStorageFlags key_storage_flags)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate.
passwordconst SecureStringPtr&Certificate password.
key_storage_flagsX509KeyStorageFlagsFlags indicating how to store key.

X509Certificate2::X509Certificate2(const String&, const String&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const String &filename, const String &password)

Arguments

ParameterTypeDescription
filenameconst String&File to load certificate from.
passwordconst String&Certificate password.

X509Certificate2::X509Certificate2(const String&, const SecureStringPtr&) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const String &filename, const SecureStringPtr &password)

Arguments

ParameterTypeDescription
filenameconst String&File to load certificate from.
passwordconst SecureStringPtr&Certificate password.

X509Certificate2::X509Certificate2(const String&, const String&, X509KeyStorageFlags) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const String &filename, const String &password, X509KeyStorageFlags key_storage_flags)

Arguments

ParameterTypeDescription
filenameconst String&File to load certificate from.
passwordconst String&Certificate password.
key_storage_flagsX509KeyStorageFlagsFlags indicating how to store key.

X509Certificate2::X509Certificate2(const String&, const SecureStringPtr&, X509KeyStorageFlags) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const String &filename, const SecureStringPtr &password, X509KeyStorageFlags key_storage_flags)

Arguments

ParameterTypeDescription
filenameconst String&File to load certificate from.
passwordconst SecureStringPtr&Certificate password.
key_storage_flagsX509KeyStorageFlagsFlags indicating how to store key.

X509Certificate2::X509Certificate2(const ByteArrayPtr&, const ByteArrayPtr&, X509KeyStorageFlags) constructor

Constructor.

System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2(const ByteArrayPtr &raw_data, const ByteArrayPtr &private_key, X509KeyStorageFlags key_storage_flags)

Arguments

ParameterTypeDescription
raw_dataconst ByteArrayPtr&Sequence of bytes that represents encoded certificate (public part).
private_keyconst ByteArrayPtr&Sequence of bytes that represents private key.
key_storage_flagsX509KeyStorageFlagsFlags indicating how to store key.

See Also