Using Certificates with Messages

Although it is possible to use certificates with the base cryptographic functions, it is much easier to use certificates with the low-level message functions or the simplified message functions. Therefore, it is recommended that you use these functions when sending or receiving messages that incorporate certificates.

For examples of using certificates with the low-level message functions see Signed Message Example Code, Enveloped Message Example 1, Enveloped Message Example 2, and Hashed Message Example Code.

For examples of using certificates with the simplified message functions see Example Code Using CryptSignMessage, Example Code Using CryptVerifyMessageSignature, Example Code Using CryptEncryptMessage, and Example Code Using CryptDecryptMessage.

For information on all of the low-level message functions, see Low Level Message Functions.

For information on all of the simplified message functions, see Simplified Message Functions.