Język

MLDsa.ImportMLDsaPrivateSeed Metoda

Definicja

Importuje klucz prywatny ML-DSA z jego prywatnej wartości inicjatora.

Przeciążenia

Nazwa Opis
ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])

Importuje klucz prywatny ML-DSA z jego prywatnej wartości inicjatora.

ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Importuje klucz prywatny ML-DSA z jego prywatnej wartości inicjatora.

ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])

Źródło:
MLDsa.cs
Źródło:
MLDsa.cs
Źródło:
MLDsa.cs

Importuje klucz prywatny ML-DSA z jego prywatnej wartości inicjatora.

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

Parametry

algorithm
MLDsaAlgorithm

Określony algorytm ML-DSA dla tego klucza.

source
Byte[]

Bajty inicjuje klucz.

Zwraca

Zaimportowany klucz.

Wyjątki

algorithm lub source ma wartość null.

Dotyczy

ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)

Źródło:
MLDsa.cs
Źródło:
MLDsa.cs
Źródło:
MLDsa.cs

Importuje klucz prywatny ML-DSA z jego prywatnej wartości inicjatora.

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

Parametry

algorithm
MLDsaAlgorithm

Określony algorytm ML-DSA dla tego klucza.

source
ReadOnlySpan<Byte>

Bajty inicjuje klucz.

Zwraca

Zaimportowany klucz.

Wyjątki

algorithm nie jest prawidłowym identyfikatorem algorytmu ML-DSA.

— lub —

source nie jest prawidłowym rozmiarem określonego algorytmu.

— lub —

Wystąpił błąd podczas importowania klucza.

Dotyczy