Taal

MLDsa.ImportMLDsaPrivateKey Methode

Definitie

Hiermee importeert u een ML-DSA persoonlijke sleutel in de persoonlijke FIPS 204-sleutelindeling.

Overloads

Naam Description
ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Hiermee importeert u een ML-DSA persoonlijke sleutel in de persoonlijke FIPS 204-sleutelindeling.

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

Hiermee importeert u een ML-DSA persoonlijke sleutel in de persoonlijke FIPS 204-sleutelindeling.

ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Bron:
MLDsa.cs
Bron:
MLDsa.cs
Bron:
MLDsa.cs

Hiermee importeert u een ML-DSA persoonlijke sleutel in de persoonlijke FIPS 204-sleutelindeling.

public:
 static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateKey(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPrivateKey : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateKey (algorithm As MLDsaAlgorithm, source As ReadOnlySpan(Of Byte)) As MLDsa

Parameters

algorithm
MLDsaAlgorithm

Het specifieke ML-DSA-algoritme voor deze sleutel.

source
ReadOnlySpan<Byte>

De bytes van een persoonlijke FIPS 204-sleutel.

Retouren

De geïmporteerde sleutel.

Uitzonderingen

algorithm is geen geldige ML-DSA algoritme-id.

– of –

source is niet de juiste grootte voor het opgegeven algoritme.

– of –

Er is een fout opgetreden tijdens het importeren van de sleutel.

Van toepassing op

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

Bron:
MLDsa.cs
Bron:
MLDsa.cs
Bron:
MLDsa.cs

Hiermee importeert u een ML-DSA persoonlijke sleutel in de persoonlijke FIPS 204-sleutelindeling.

public:
 static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateKey(System.Security.Cryptography.MLDsaAlgorithm algorithm, byte[] source);
static member ImportMLDsaPrivateKey : System.Security.Cryptography.MLDsaAlgorithm * byte[] -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateKey (algorithm As MLDsaAlgorithm, source As Byte()) As MLDsa

Parameters

algorithm
MLDsaAlgorithm

Het specifieke ML-DSA-algoritme voor deze sleutel.

source
Byte[]

De bytes van een persoonlijke FIPS 204-sleutel.

Retouren

De geïmporteerde sleutel.

Uitzonderingen

algorithm of source is null.

Van toepassing op