AsymmetricAlgorithm.ExportPkcs8PrivateKey 方法

定義

以 PKCS#8 PrivateKeyInfo 格式匯出目前金鑰。

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

傳回

Byte[]

位元組陣列,其中包含此金鑰的 PKCS#8 PrivateKeyInfo 表示。

例外狀況

無法匯出金鑰。

適用於

另請參閱