MLDsa.ExportPkcs8PrivateKey Metodo

Definizione

Esporta la chiave corrente nel formato PrivateKeyInfo PKCS#8.

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()

Valori restituiti

Byte[]

Matrice di byte contenente la rappresentazione PrivateKeyInfo PKCS#8 della chiave.

Attributi

Eccezioni

Questa istanza è stata eliminata.

Questa istanza rappresenta solo una chiave pubblica.

oppure

La chiave privata non è esportabile.

oppure

Errore durante l'esportazione della chiave.

Si applica a