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) 수 있습니다.

적용 대상