SlhDsa.ExportPkcs8PrivateKey Metod

Definition

Exporterar den aktuella nyckeln i formatet PKCS#8 PrivateKeyInfo.

public:
 cli::array <System::Byte> ^ ExportPkcs8PrivateKey();
public byte[] ExportPkcs8PrivateKey();
member this.ExportPkcs8PrivateKey : unit -> byte[]
Public Function ExportPkcs8PrivateKey () As Byte()

Returer

Byte[]

En bytematris som innehåller PKCS#8 PrivateKeyInfo-representationen av den här nyckeln.

Undantag

Den här instansen har tagits bort.

Den här instansen representerar bara en offentlig nyckel.

-eller-

Den privata nyckeln kan inte exporteras.

-eller-

Ett fel uppstod när nyckeln exporterades.

Gäller för