MLDsa.ImportMLDsaPublicKey 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 publiczny ML-DSA w formacie klucza publicznego FIPS 204.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[]) |
Importuje klucz publiczny ML-DSA w formacie klucza publicznego FIPS 204. |
| ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
Importuje klucz publiczny ML-DSA w formacie klucza publicznego FIPS 204. |
ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[])
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
Importuje klucz publiczny ML-DSA w formacie klucza publicznego FIPS 204.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPublicKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPublicKey(System.Security.Cryptography.MLDsaAlgorithm algorithm, byte[] source);
static member ImportMLDsaPublicKey : System.Security.Cryptography.MLDsaAlgorithm * byte[] -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPublicKey (algorithm As MLDsaAlgorithm, source As Byte()) As MLDsa
Parametry
- algorithm
- MLDsaAlgorithm
Określony algorytm ML-DSA dla tego klucza.
- source
- Byte[]
Bajty klucza publicznego FIPS 204.
Zwraca
Zaimportowany klucz.
Wyjątki
algorithm lub source ma wartość null.
Dotyczy
ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
- Źródło:
- MLDsa.cs
Importuje klucz publiczny ML-DSA w formacie klucza publicznego FIPS 204.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPublicKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPublicKey(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPublicKey : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPublicKey (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 publicznego 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.