SlhDsa.GenerateKey(SlhDsaAlgorithm) メソッド

定義

指定したアルゴリズムの新しい SLH-DSA キーを生成します。

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

パラメーター

algorithm
SlhDsaAlgorithm

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

返品

生成されたオブジェクト。

例外

algorithmnullです。

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

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

適用対象