Method Encode Encode() Encodes the SignedData object into CMS/PKCS #7 message data. Declaration public byte[] Encode() Returns Type Description Byte[] Array of bytes representing a CMS/PKCS #7 message.