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를 지원하는지 확인할 수 있습니다.

적용 대상