skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: DecryptDataInitPDecryptDataInitP
go to next page: DecryptDataUpdateDecryptDataUpdate
end of book navigation links


DecryptDataP
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

DecryptDataP - Decrypt data with privilege (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_DecryptDataP(CSSM_CC_HANDLE CCHandle,const CSSM_DATA *CipherBufs,uint32 CipherBufCount,CSSM_DATA_PTR ClearBufs,uint32 ClearBufCount,uint32 *bytesDecrypted,CSSM_DATA_PTR RemData,CSSM_PRIVILEGE Privilege)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

Privilege (input)
 The privilege to be applied during the cryptographicoperation.
See CSSM_DecryptData() for other parameters.


return to top DESCRIPTION  

This function is similar to CSSM_DecryptData(). It also accepts a USEE tag as a privilege request parameter. CSSMchecks that either its privilege set or the application's privilegeset (if the application is signed) includes the tag. If the tagis found and the service provider privilege set indicates that itis supported, the tag is forwarded to the service provider.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSP_BLOCK_SIZE_MISMATCHCSSMERR_CSP_OUTPUT_LENGTH_ERROR


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_DecryptData, CSSM_EncryptDataInit, CSSM_EncryptDataUpdate, CSSM_EncryptDataFinal, CSSM_EncryptDataP, CSSM_EncryptDataInitP, CSSM_DecryptP, CSSM_DecryptDataInitP, CSSM_QuerySize


go to previous page: DecryptDataInitPDecryptDataInitP
go to next page: DecryptDataUpdateDecryptDataUpdate