MLDsa.GenerateKey(MLDsaAlgorithm) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Génère une nouvelle clé 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
Paramètres
- algorithm
- MLDsaAlgorithm
Algorithme identifiant le type de clé ML-DSA à générer.
Retours
Clé générée.
Exceptions
algorithm est null
Une erreur s’est produite lors de la génération de la clé ML-DSA.
La plateforme ne prend pas en charge ML-DSA. Les appelants peuvent utiliser la IsSupported propriété pour déterminer si la plateforme prend en charge ML-DSA.