CSP_VerifyDataFinal
CSSM_BOOL CSSMSPI CSP_VerifyDataFinal
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_DATA_PTR Signature)
This function finalizes the staged verify data function.
- CSPHandle (input)
The handle that describes the add-in cryptographic service provider module used to perform up calls to CSSM for the memory functions managed by CSSM.
- 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_CSP_HANDLE
Invalid CSP handle.
- CSSM_CSP_INVALID_CONTEXT_POINTER
Invalid CSSM_CONTEXT pointer.
- 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.
CSP_VerifyData, CSP_VerifyDataInit, CSP_VerifyDataUpdate
Contents | Next section | Index |