CompositeMLDsa.GenerateKey(CompositeMLDsaAlgorithm) Metoda

Definicja

Generuje nowy klucz złożony 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

Parametry

algorithm
CompositeMLDsaAlgorithm

Algorytm identyfikujący rodzaj klucza złożonego ML-DSA do wygenerowania.

Zwraca

Wygenerowany klucz.

Wyjątki

algorithm jest null

Wystąpił błąd podczas generowania klucza ML-DSA złożonego.

Platforma nie obsługuje określonego algorytmu złożonego ML-DSA. Osoby wywołujące mogą użyć IsAlgorithmSupported(CompositeMLDsaAlgorithm) polecenia , aby określić, czy algorytm jest obsługiwany.

Dotyczy