Share via


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 表示。

例外狀況

無法匯出金鑰。

適用於

另請參閱