MLDsa.GenerateKey(MLDsaAlgorithm) メソッド

定義

新しい ML-DSA キーを生成します。

public:
 static System::Security::Cryptography::MLDsa ^ GenerateKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm);
public static System.Security.Cryptography.MLDsa GenerateKey(System.Security.Cryptography.MLDsaAlgorithm algorithm);
static member GenerateKey : System.Security.Cryptography.MLDsaAlgorithm -> System.Security.Cryptography.MLDsa
Public Shared Function GenerateKey (algorithm As MLDsaAlgorithm) As MLDsa

パラメーター

algorithm
MLDsaAlgorithm

生成する ML-DSA キーの種類を識別するアルゴリズム。

返品

生成されたキー。

例外

algorithmnull です

ML-DSA キーの生成中にエラーが発生しました。

プラットフォームは ML-DSA をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-DSA をサポートしているかどうかを判断できます。

適用対象