CompositeMLDsa.GenerateKey(CompositeMLDsaAlgorithm) メソッド

定義

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

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

パラメーター

algorithm
CompositeMLDsaAlgorithm

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

返品

生成されたキー。

例外

algorithmnull です

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

プラットフォームは、指定された複合 ML-DSA アルゴリズムをサポートしていません。 呼び出し元は、 IsAlgorithmSupported(CompositeMLDsaAlgorithm) を使用して、アルゴリズムがサポートされているかどうかを判断できます。

適用対象