Create()

RSA::Create() method

Creates default RSA aglorithm implementation.

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create()

RSA::Create(const String&) method

Creates default RSA algorithm implementation.

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const String &alg_name)

Arguments

ParameterTypeDescription
alg_nameconst String&Must be "System.Security.Cryptography.RSACryptoServiceProvider".

RSA::Create(int32_t) method

Creates default RSA algorithm implementation with specifed key size.

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(int32_t key_size_in_bits)

Arguments

ParameterTypeDescription
key_size_in_bitsint32_tThe key size, in bits.

RSA::Create(const RSAParameters&) method

Creates default RSA algorithm implementation with specifed parameters.

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const RSAParameters &parameters)

Arguments

ParameterTypeDescription
parametersconst RSAParameters&The parameters for the RSA algorithm.

See Also