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