Method Encrypt Encrypt() Encrypts the contents of the CMS/PKCS #7 message. Declaration public void Encrypt()