System::Security::Cryptography::RSA::Create 方法

RSA::Create() method

创建默认的 RSA 算法实现。

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

另见

RSA::Create(const RSAParameters&) method

创建默认的 RSA 算法实现,并使用指定的参数。

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const RSAParameters &parameters)
参数类型描述
parametersconst RSAParameters&用于 RSA 算法的参数。

另见

RSA::Create(const String&) method

创建默认的 RSA 算法实现。

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(const String &alg_name)
参数类型描述
alg_nameconst String&必须是 “System.Security.Cryptography.RSACryptoServiceProvider”。

另见

RSA::Create(int32_t) method

创建默认的 RSA 算法实现,并使用指定的密钥大小。

static SharedPtr<RSA> System::Security::Cryptography::RSA::Create(int32_t key_size_in_bits)
参数类型描述
key_size_in_bitsint32_t密钥大小(以位为单位)。

另见