Copyright Digital Equipment Corp. All rights reserved.

VerifyDataFinal

NAME
  VerifyDataFinal,
  CSSM_VerifyDataFinal,
  CSP_VerifyDataFinal  - Finalize the staged verify data (CDSA)

SYNOPSIS
  # include <cssm.h>

   API:
       CSSM_RETURN CSSMAPI CSSM_VerifyDataFinal
       (CSSM_CC_HANDLE CCHandle,
       const CSSM_DATA *Signature)
   SPI:
       CSSM_BOOL CSSMCSPI CSP_VerifyDataFinal
       (CSSM_CSP_HANDLE CSPHandle,
       CSSM_CC_HANDLE CCHandle,
       const CSSM_DATA *Signature)

LIBRARY
  Common Security Services Manager library (CDSA$INCSSM300_SHR.EXE)

API 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.

SPI PARAMETERS
  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.

DESCRIPTION
  This function finalizes the staged verify data function.

RETURN VALUE
  A CSSM_RETURN value indicating success or specifying a particular
  error condition. The value CSSM_OK indicates success. All other
  values represent an error condition.

ERRORS
  Errors are described in the CDSA technical standard.  See CDSA.

       CSSMERR_CSP_INPUT_LENGTH_ERROR
       CSSMERR_CSP_VERIFY_FAILED
       CSSMERR_CSP_INVALID_SIGNATURE

SEE ALSO
  Books

  Intel CDSA Application Developer's Guide (see CDSA)

  Other Help Topics

  Functions for the CSSM API:

      CSSM_VerifyData
      CSSM_VerifyDataInit
      CSSM_VerifyDataUpdate

  Functions for the CSP SPI:

      CSP_VerifyData
      CSP_VerifyDataInit
      CSP_VerifyDataUpdate