CSSM_VerifyDataFinal
CSSM_BOOL CSSMAPI CSSM_VerifyDataFinal
(CSSM_CC_HANDLE CCHandle,
const CSSM_DATA_PTR Signature)
This function finalizes the staged verify data function.
- CCHandle (input)
The handle that describes the context of this cryptographic operation used to link to the CSP-managed information.
- Signature (input)
A pointer to a CSSM_DATA structure which contains the starting address for the signature to verify against and the length of the signature in bytes.
A CSSM_TRUE return value signifies the signature successfully verified. When CSSM_FALSE is returned, either the signature was not successfully verified or an error has occurred; use CSSM_GetError to obtain the error code.
- CSSM__CSP_INVALID_CONTEXT_HANDLE
Invalid context handle.
- CSSM__CSP_STAGED_OPERATION_UNSUPPORTED
Staged operation unsupported.
- CSSM__CSP_STAGED_OPERATION_FAILED
Staged Cryptographic operation failed.
- CSSM__CSP_INVALID_SIGNATURE
Invalid or missing signature.
- CSSM__CSP_GET_STAGED_INFO_ERROR
Cannot find or get the staged information.
CSSM_VerifyData, CSSM_VerifyDataInit, CSSM_VerifyDataUpdate
Contents | Next section | Index |