MLDsa.ImportMLDsaPrivateSeed 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.
Importe une clé privée ML-DSA à partir de sa valeur de départ privée.
Surcharges
| Nom | Description |
|---|---|
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[]) |
Importe une clé privée ML-DSA à partir de sa valeur de départ privée. |
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
Importe une clé privée ML-DSA à partir de sa valeur de départ privée. |
ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])
- Source:
- MLDsa.cs
- Source:
- MLDsa.cs
- Source:
- MLDsa.cs
Importe une clé privée ML-DSA à partir de sa valeur de départ privée.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, byte[] source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * byte[] -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As Byte()) As MLDsa
Paramètres
- algorithm
- MLDsaAlgorithm
Algorithme de ML-DSA spécifique pour cette clé.
- source
- Byte[]
Octets de la valeur initiale de la clé.
Retours
Clé importée.
Exceptions
algorithm ou source est null.
S’applique à
ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- Source:
- MLDsa.cs
- Source:
- MLDsa.cs
- Source:
- MLDsa.cs
Importe une clé privée ML-DSA à partir de sa valeur de départ privée.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As ReadOnlySpan(Of Byte)) As MLDsa
Paramètres
- algorithm
- MLDsaAlgorithm
Algorithme de ML-DSA spécifique pour cette clé.
- source
- ReadOnlySpan<Byte>
Octets de la valeur initiale de la clé.
Retours
Clé importée.
Exceptions
algorithm n’est pas un identificateur d’algorithme ML-DSA valide.
- ou -
source n’est pas la taille correcte de l’algorithme spécifié.
- ou -
Une erreur s’est produite lors de l’importation de la clé.