AsymmetricAlgorithm.ExportPkcs8PrivateKey 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
匯出目前的金鑰,格式為 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 表示的位元組陣列。
例外狀況
該金鑰無法匯出。