CompositeMLDsa.GenerateKey(CompositeMLDsaAlgorithm) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
新しい複合 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 キーの種類を識別するアルゴリズム。
返品
生成されたキー。
例外
algorithm は null です
複合 ML-DSA キーの生成中にエラーが発生しました。
プラットフォームは、指定された複合 ML-DSA アルゴリズムをサポートしていません。 呼び出し元は、 IsAlgorithmSupported(CompositeMLDsaAlgorithm) を使用して、アルゴリズムがサポートされているかどうかを判断できます。