CSP_PassThrough
void* CSSMSPI CSP_PassThrough
(CSSM_CSP_HANDLE CSPHandle,
CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT_PTR Context,
uint32 PassThroughId,
const void * InData,)
The CSP_PassThrough function is provided to allow CSP developers to extend the crypto functionality of the CSSM API.
- 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.
A pointer to void structure contains the output.
- 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.
Contents | Next section | Index |