HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API FunctionsCL_CertVerifyWithKey
SYNOPSIS# include <cssm.h> API:
SPI:
PARAMETERS
DESCRIPTIONThis function verifies that the CertToBeVerified parameter was signed using a specific private key and that the certificate has not been altered since it was signed using that private key. The public key corresponding to the private signing key is used in the verification process. The CCHandle, must be a signature verification context created using the function CSSM_CSP_CreateSignatureContext() (CSSM API), or CSP_CreateSignatureContext() (SPI). The context must specify the Cryptographic Services Provider (CSP) module, the verification algorithm, and the public verification key that must be used to perform this operation. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. |