private static extern bool CryptEncryptMessage( ref CRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara, Int32 cRecipientCert, IntPtr[] rgpRecipientCert, IntPtr pbToBeEncrypted, Int32 cbToBeEncrypted, IntPtr pbEncryptedBlob, ref int pcbEncryptedBlob);
public static extern bool CryptEncryptMessage( ref CRYPT_ENCRYPT_MESSAGE_PARA pDecryptPara, int cRecipientCert, [In, MarshalAs(UnmanagedType.LPArray)] IntPtr[] rgpRecipientCert, byte[] pbToBeEncrypted, int cbToBeEncrypted, [In, Out] byte[] pbEncryptedBlob, ref int pcbEncryptedBlob);