Verifying a Countersignature
To verify a countersignature
- Call CryptMsgOpenToDecode to get a handle to the signed message.
- Get a pointer to the countersigner's certificate ( CERT_INFO).
- Call CryptMsgGetParam to retrieve the signer information from the message.
- Call CryptMsgGetParam to retrieve the countersignature from the message.
- Call CryptMsgVerifyCountersignatureEncoded to verify the countersignature.
If the CryptMsgVerifyCountersignatureEncoded function call succeeds, the countersignature is verified.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for