語言

RSA.ExportRSAPrivateKey 方法

定義

匯出目前的金鑰,格式為 PKCS#1 RSAPrivateKey。

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

傳回

Byte[]

一個包含 PKCS#1 RSAPrivateKey 表示的位元組陣列。

例外狀況

該金鑰無法匯出。

適用於

另請參閱