語言

MLKem.ExportPkcs8PrivateKey 方法

定義

匯出目前的金鑰,格式為 PKCS#8 PrivateKeyInfo。

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

傳回

Byte[]

一個包含 PKCS#8 PrivateKeyInfo 表示的位元組陣列。

屬性

例外狀況

這個實例已經被處理掉了。

匯出金鑰時發生錯誤。

適用於