Previous section.

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

NAME

CSSM_CSP_PassThrough

SYNOPSIS

void * CSSMAPI CSSM_CSP_PassThrough
    (CSSM_CC_HANDLE CCHandle,
    uint32 PassThroughId,
    const void *InData)

DESCRIPTION

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

PARAMETERS

CCHandle (input)

The handle that describes the context of this cryptographic operation.

PassThroughId (input)

An identifier specifying the custom function to be performed.

InData (input)

A pointer to a module, implementation-specific structure containing the input data.

RETURN VALUE

A pointer to a module, implementation-specific structure containing the output data. If successful, this function returns a non-NULL value. A NULL value indicates an error has occurred. Use CSSM_GetError to obtain a specific error code.

ERRORS

CSSM_CSP_INVALID_CONTEXT_HANDLE

Invalid context handle.

CSSM_INVALID_POINTER

Invalid pointer.

CSSM_CSP_MEMORY_ERROR

Not enough memory to allocate.

CSSM_CSP_OPERATION_UNSUPPORTED

Derive key service not supported.

CSSM_CSP_OPERATION_FAILED

Cryptographic operation failed.


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