SlhDsa.ImportPkcs8PrivateKey Methode

Definition

Importiert einen SLH-DSA privaten Schlüssel aus einer PKCS#8 PrivateKeyInfo-Struktur.

Überlädt

Name Beschreibung
ImportPkcs8PrivateKey(Byte[])

Importiert einen SLH-DSA privaten Schlüssel aus einer PKCS#8 PrivateKeyInfo-Struktur.

ImportPkcs8PrivateKey(ReadOnlySpan<Byte>)

Importiert einen SLH-DSA privaten Schlüssel aus einer PKCS#8 PrivateKeyInfo-Struktur.

ImportPkcs8PrivateKey(Byte[])

Quelle:
SlhDsa.cs
Quelle:
SlhDsa.cs
Quelle:
SlhDsa.cs

Importiert einen SLH-DSA privaten Schlüssel aus einer PKCS#8 PrivateKeyInfo-Struktur.

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

Parameter

source
Byte[]

Die Bytes einer PKCS#8 PrivateKeyInfo-Struktur in der ASN.1-BER-Codierung.

Gibt zurück

Der importierte Schlüssel.

Ausnahmen

source ist null.

Gilt für:

ImportPkcs8PrivateKey(ReadOnlySpan<Byte>)

Quelle:
SlhDsa.cs
Quelle:
SlhDsa.cs
Quelle:
SlhDsa.cs

Importiert einen SLH-DSA privaten Schlüssel aus einer PKCS#8 PrivateKeyInfo-Struktur.

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

Parameter

source
ReadOnlySpan<Byte>

Die Bytes einer PKCS#8 PrivateKeyInfo-Struktur in der ASN.1-BER-Codierung.

Gibt zurück

Der importierte Schlüssel.

Ausnahmen

Der Inhalt stellt source keine ASN.1-BER-codierte PKCS#8 PrivateKeyInfo-Struktur dar.

-oder-

Der Wert "PrivateKeyInfo" stellt keinen SLH-DSA Schlüssel dar.

-oder-

source enthält nachfolgende Daten nach der ASN.1-Struktur.

-oder-

Fehler beim algorithmusspezifischen Import.

Die Plattform unterstützt SLH-DSA nicht. Anrufer können die IsSupported Eigenschaft verwenden, um festzustellen, ob die Plattform SLH-DSA unterstützt.

Gilt für: