Pkcs12SafeBag.Encode 方法

定义

对 SafeBag 值进行编码并将它作为字节数组返回。Encodes the SafeBag value and returns it as a byte array.

public:
 cli::array <System::Byte> ^ Encode();
public byte[] Encode ();
member this.Encode : unit -> byte[]
Public Function Encode () As Byte()

返回

Byte[]

一个字节数组,表示 SafeBag 的编码形式。A byte array representing the encoded form of the SafeBag.

例外

传递给构造函数的对象标识符值无效。The object identifier value passed to the constructor was invalid.

适用于