System::Security::Cryptography::DSA::Create 方法

DSA::Create() method

创建默认的 DSA 算法实现。

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

ReturnValue

DSA algorithm object.

另见

DSA::Create(const DSAParameters&) method

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

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

另见

DSA::Create(const String&) method

创建默认的 DSA 算法实现。

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

ReturnValue

DSA algorithm object.

另见

DSA::Create(int32_t) method

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

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

另见