Pkcs12Builder.Encode Method

Definition

Encodes the contents of a sealed PFX 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()

Returns

Byte[]

A byte array representing the encoded form of the PFX.

Exceptions

The PFX is not sealed (IsSealed is false).

Applies to

See also