MLDsa.ImportMLDsaPrivateKey Methode

Definition

Importiert einen ML-DSA privaten Schlüssel im PRIVATEN SCHLÜSSELformat FIPS 204.

Überlädt

Name Beschreibung
ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Importiert einen ML-DSA privaten Schlüssel im PRIVATEN SCHLÜSSELformat FIPS 204.

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

Importiert einen ML-DSA privaten Schlüssel im PRIVATEN SCHLÜSSELformat FIPS 204.

ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Quelle:
MLDsa.cs
Quelle:
MLDsa.cs
Quelle:
MLDsa.cs

Importiert einen ML-DSA privaten Schlüssel im PRIVATEN SCHLÜSSELformat FIPS 204.

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

Parameter

algorithm
MLDsaAlgorithm

Der spezifische ML-DSA Algorithmus für diesen Schlüssel.

source
ReadOnlySpan<Byte>

Die Bytes eines privaten FIPS 204-Schlüssels.

Gibt zurück

Der importierte Schlüssel.

Ausnahmen

algorithm ist kein gültiger ML-DSA Algorithmusbezeichner.

-oder-

source ist nicht die richtige Größe für den angegebenen Algorithmus.

-oder-

Fehler beim Importieren des Schlüssels.

Gilt für:

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

Quelle:
MLDsa.cs
Quelle:
MLDsa.cs
Quelle:
MLDsa.cs

Importiert einen ML-DSA privaten Schlüssel im PRIVATEN SCHLÜSSELformat FIPS 204.

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

Parameter

algorithm
MLDsaAlgorithm

Der spezifische ML-DSA Algorithmus für diesen Schlüssel.

source
Byte[]

Die Bytes eines privaten FIPS 204-Schlüssels.

Gibt zurück

Der importierte Schlüssel.

Ausnahmen

algorithm oder source ist null.

Gilt für: