SlhDsa.GenerateKey(SlhDsaAlgorithm) Méthode

Définition

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.

S’applique à