Språk

MLDsa.ImportMLDsaPrivateSeed Metod

Definition

Importerar en ML-DSA privat nyckel från dess privata startvärde.

Överlagringar

Name Description
ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])

Importerar en ML-DSA privat nyckel från dess privata startvärde.

ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Importerar en ML-DSA privat nyckel från dess privata startvärde.

ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])

Källa:
MLDsa.cs
Källa:
MLDsa.cs
Källa:
MLDsa.cs

Importerar en ML-DSA privat nyckel från dess privata startvärde.

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

Parametrar

algorithm
MLDsaAlgorithm

Den specifika ML-DSA algoritmen för den här nyckeln.

source
Byte[]

Bytes nyckelfröet.

Returer

Den importerade nyckeln.

Undantag

algorithm eller source är null.

Gäller för

ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Källa:
MLDsa.cs
Källa:
MLDsa.cs
Källa:
MLDsa.cs

Importerar en ML-DSA privat nyckel från dess privata startvärde.

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

Parametrar

algorithm
MLDsaAlgorithm

Den specifika ML-DSA algoritmen för den här nyckeln.

source
ReadOnlySpan<Byte>

Bytes nyckelfröet.

Returer

Den importerade nyckeln.

Undantag

algorithm är inte en giltig ML-DSA algoritmidentifierare.

-eller-

source är inte rätt storlek för den angivna algoritmen.

-eller-

Ett fel uppstod när nyckeln skulle importeras.

Gäller för