RSA.ExportRSAPrivateKey 方法

定義

以 PKCS#1 RSAPrivateKey 格式匯出目前金鑰。Exports the current key in the PKCS#1 RSAPrivateKey format.

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 表示。A byte array containing the PKCS#1 RSAPrivateKey representation of this key.

例外狀況

無法匯出金鑰。The key could not be exported.

適用於

另請參閱