procedure Decode(const RawData: TBytes); overload;
procedure Decode(Stream: TStream); overload;
The Decode method decodes an encoded signed CMS/PKCS #7 message. Upon successful decoding, the decoded information can be retrieved from the properties of the TScCMSSignedData object.
RawData is an array of byte values, and Stream is a TStream object, that represent the encoded CMS/PKCS #7 message to be decoded.
This method resets all properties of the object by using the information obtained from successful decoding.