Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

CSSM_VerifyDataFinal

SYNOPSIS

CSSM_BOOL CSSMAPI CSSM_VerifyDataFinal
    (CSSM_CC_HANDLE CCHandle,
    const CSSM_DATA_PTR Signature)

DESCRIPTION

This function finalizes the staged verify data function.

PARAMETERS

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.

RETURN VALUE

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.

ERRORS

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.

SEE ALSO

CSSM_VerifyData, CSSM_VerifyDataInit, CSSM_VerifyDataUpdate

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index