function Encode: TBytes; overload;

procedure Encode(Stream: TStream); overload;



The Encode method encodes the contents of the object into an enveloped CMS/PKCS #7 message. Encryption must be done before encoding.

This method can return an array of byte values that represents the encoded message or can write this result to the Stream parameter.

The encoded message can be decoded by the Decode method.


See Also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support