MLDsa.ExportPkcs8PrivateKey Methode

Definition

Exportiert den aktuellen Schlüssel im PKCS#8 PrivateKeyInfo-Format.

public:
 cli::array <System::Byte> ^ ExportPkcs8PrivateKey();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public byte[] ExportPkcs8PrivateKey();
public byte[] ExportPkcs8PrivateKey();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.ExportPkcs8PrivateKey : unit -> byte[]
member this.ExportPkcs8PrivateKey : unit -> byte[]
Public Function ExportPkcs8PrivateKey () As Byte()

Gibt zurück

Byte[]

Ein Bytearray mit der PKCS#8 PrivateKeyInfo-Darstellung dieses Schlüssels.

Attribute

Ausnahmen

Diese Instanz wurde verworfen.

Diese Instanz stellt nur einen öffentlichen Schlüssel dar.

-oder-

Der private Schlüssel kann nicht exportiert werden.

-oder-

Fehler beim Exportieren des Schlüssels.

Gilt für: