MLDsa.ImportMLDsaPrivateKey Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Importuje klucz prywatny ML-DSA w formacie klucza prywatnego FIPS 204.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
Importuje klucz prywatny ML-DSA w formacie klucza prywatnego FIPS 204. |
| ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[]) |
Importuje klucz prywatny ML-DSA w formacie klucza prywatnego FIPS 204. |
ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
Importuje klucz prywatny ML-DSA w formacie klucza prywatnego 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
Parametry
- algorithm
- MLDsaAlgorithm
Określony algorytm ML-DSA dla tego klucza.
- source
- ReadOnlySpan<Byte>
Bajty klucza prywatnego FIPS 204.
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
ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
Importuje klucz prywatny ML-DSA w formacie klucza prywatnego 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
Parametry
- algorithm
- MLDsaAlgorithm
Określony algorytm ML-DSA dla tego klucza.
- source
- Byte[]
Bajty klucza prywatnego FIPS 204.
Zwraca
Zaimportowany klucz.
Wyjątki
algorithm lub source ma wartość null.