Taal

CompositeMLDsa.ImportPkcs8PrivateKey Methode

Definitie

Hiermee importeert u een samengestelde ML-DSA persoonlijke sleutel uit een PKCS#8 PrivateKeyInfo-structuur.

Overloads

Name Description
ImportPkcs8PrivateKey(Byte[])

Hiermee importeert u een samengestelde ML-DSA persoonlijke sleutel uit een PKCS#8 PrivateKeyInfo-structuur.

ImportPkcs8PrivateKey(ReadOnlySpan<Byte>)

Hiermee importeert u een samengestelde ML-DSA persoonlijke sleutel uit een PKCS#8 PrivateKeyInfo-structuur.

ImportPkcs8PrivateKey(Byte[])

Bron:
CompositeMLDsa.cs
Bron:
CompositeMLDsa.cs
Bron:
CompositeMLDsa.cs

Hiermee importeert u een samengestelde ML-DSA persoonlijke sleutel uit een PKCS#8 PrivateKeyInfo-structuur.

public:
 static System::Security::Cryptography::CompositeMLDsa ^ ImportPkcs8PrivateKey(cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.CompositeMLDsa ImportPkcs8PrivateKey(byte[] source);
static member ImportPkcs8PrivateKey : byte[] -> System.Security.Cryptography.CompositeMLDsa
Public Shared Function ImportPkcs8PrivateKey (source As Byte()) As CompositeMLDsa

Parameters

source
Byte[]

De bytes van een PKCS#8 PrivateKeyInfo-structuur in de ASN.1-BER-codering.

Retouren

De geïmporteerde sleutel.

Uitzonderingen

source is null.

Van toepassing op

ImportPkcs8PrivateKey(ReadOnlySpan<Byte>)

Bron:
CompositeMLDsa.cs
Bron:
CompositeMLDsa.cs
Bron:
CompositeMLDsa.cs

Hiermee importeert u een samengestelde ML-DSA persoonlijke sleutel uit een PKCS#8 PrivateKeyInfo-structuur.

public:
 static System::Security::Cryptography::CompositeMLDsa ^ ImportPkcs8PrivateKey(ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.CompositeMLDsa ImportPkcs8PrivateKey(ReadOnlySpan<byte> source);
static member ImportPkcs8PrivateKey : ReadOnlySpan<byte> -> System.Security.Cryptography.CompositeMLDsa
Public Shared Function ImportPkcs8PrivateKey (source As ReadOnlySpan(Of Byte)) As CompositeMLDsa

Parameters

source
ReadOnlySpan<Byte>

De bytes van een PKCS#8 PrivateKeyInfo-structuur in de ASN.1-BER-codering.

Retouren

De geïmporteerde sleutel.

Uitzonderingen

De inhoud van source deze indeling vertegenwoordigt geen ASN.1-BER-gecodeerde PKCS#8 PrivateKeyInfo-structuur.

– of –

De waarde PrivateKeyInfo vertegenwoordigt geen samengestelde ML-DSA sleutel.

– of –

source bevat volggegevens na de ASN.1-structuur.

– of –

Het algoritmespecifieke importeren is mislukt.

– of –

Het opgegeven samengestelde ML-DSA-algoritme wordt niet ondersteund.

Het platform biedt geen ondersteuning voor samengestelde ML-DSA. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform samengestelde ML-DSA ondersteunt.

Van toepassing op