SlhDsa.GenerateKey(SlhDsaAlgorithm) 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é SLH-DSA pour l’algorithme spécifié.
public:
static System::Security::Cryptography::SlhDsa ^ GenerateKey(System::Security::Cryptography::SlhDsaAlgorithm ^ algorithm);
public static System.Security.Cryptography.SlhDsa GenerateKey(System.Security.Cryptography.SlhDsaAlgorithm algorithm);
static member GenerateKey : System.Security.Cryptography.SlhDsaAlgorithm -> System.Security.Cryptography.SlhDsa
Public Shared Function GenerateKey (algorithm As SlhDsaAlgorithm) As SlhDsa
Paramètres
- algorithm
- SlhDsaAlgorithm
Algorithme identifiant le type de clé SLH-DSA à générer.
Retours
Objet généré.
Exceptions
algorithm a la valeur null.
Une erreur s’est produite lors de la génération de la clé SLH-DSA.
La plateforme ne prend pas en charge SLH-DSA. Les appelants peuvent utiliser la IsSupported propriété pour déterminer si la plateforme prend en charge SLH-DSA.