Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CSSM_VerifyDataFinal(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CDSA_intro(3)

CSSM_VerifyData(3)

CSSM_VerifyDataInit(3)

CSSM_VerifyDataUpdate(3)

CSP_VerifyData(3)

CSP_VerifyDataInit(3)

CSP_VerifyDataUpdate(3)

VerifyDataFinal(3)  —  Subroutines

NAME

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

SYNOPSIS

# include <cdsa/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 (libcssm.so)

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_intro(3). 

CSSMERR_CSP_INPUT_LENGTH_ERROR
CSSMERR_CSP_VERIFY_FAILED
CSSMERR_CSP_INVALID_SIGNATURE

SEE ALSO

Books

Intel CDSA Application Developer’s Guide (see CDSA_intro(3))

Reference Pages

Functions for the CSSM API:

CSSM_VerifyData(3), CSSM_VerifyDataInit(3), CSSM_VerifyDataUpdate(3)

Functions for the CSP SPI:

CSP_VerifyData(3), CSP_VerifyDataInit(3), CSP_VerifyDataUpdate(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026