MLDsa.ImportMLDsaPublicKey Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee importeert u een ML-DSA openbare sleutel in de openbare FIPS 204-sleutelindeling.
Overloads
| Naam | Description |
|---|---|
| ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[]) |
Hiermee importeert u een ML-DSA openbare sleutel in de openbare FIPS 204-sleutelindeling. |
| ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
Hiermee importeert u een ML-DSA openbare sleutel in de openbare FIPS 204-sleutelindeling. |
ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[])
- Bron:
- MLDsa.cs
- Bron:
- MLDsa.cs
- Bron:
- MLDsa.cs
Hiermee importeert u een ML-DSA openbare sleutel in de openbare FIPS 204-sleutelindeling.
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
Parameters
- algorithm
- MLDsaAlgorithm
Het specifieke ML-DSA-algoritme voor deze sleutel.
- source
- Byte[]
De bytes van een openbare FIPS 204-sleutel.
Retouren
De geïmporteerde sleutel.
Uitzonderingen
algorithm of source is null.
Van toepassing op
ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- Bron:
- MLDsa.cs
- Bron:
- MLDsa.cs
- Bron:
- MLDsa.cs
Hiermee importeert u een ML-DSA openbare sleutel in de openbare FIPS 204-sleutelindeling.
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
Parameters
- algorithm
- MLDsaAlgorithm
Het specifieke ML-DSA-algoritme voor deze sleutel.
- source
- ReadOnlySpan<Byte>
De bytes van een openbare FIPS 204-sleutel.
Retouren
De geïmporteerde sleutel.
Uitzonderingen
algorithm is geen geldige ML-DSA algoritme-id.
– of –
source is niet de juiste grootte voor het opgegeven algoritme.
– of –
Er is een fout opgetreden tijdens het importeren van de sleutel.