Previous section.

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

NAME

CSP_PassThrough

SYNOPSIS

void* CSSMSPI CSP_PassThrough
    (CSSM_CSP_HANDLE CSPHandle,
    CSSM_CC_HANDLE CCHandle,
    const CSSM_CONTEXT_PTR Context,
    uint32 PassThroughId,
    const void * InData,)

DESCRIPTION

The CSP_PassThrough function is provided to allow CSP developers to extend the crypto functionality of the CSSM API.

PARAMETERS

CSPHandle (input)

Handle of the CSP supporting the passthrough function.

CCHandle (input)

The handle that describes the context of this cryptographic operation.

Context (input)

Pointer to CSSM_CONTEXT structure that describes the attributes with this custom context structure.

PassThroughId (input)

An identifier specifying the custom function to be performed.

InData (input)

A pointer to void structure containing the input data.

RETURN VALUE

A pointer to void structure contains the output.

ERRORS

CSSM_CSP_INVALID_CSP_HANDLE

Invalid CSP handle.

CSSM_CSP_INVALID_POINTER

Invalid pointer for input data.

CSSM_CSP_MEMORY_ERROR

Not enough memory to allocate.

CSSM_CSP_OPERATION_UNSUPPORTED

Service not supported.

CSSM_CSP_OPERATION_FAILED

Unable to perform custom function.


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