HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API FunctionsEncryptDataInit
SYNOPSIS# include <cssm.h>
API PARAMETERS
SPI PARAMETERS
DESCRIPTIONThis function initializes the staged encrypt function. There may be algorithm-specific and token-specific rules restricting the lengths of data following data update calls making use of these parameters. The CSP can require that the cryptographic context include access credentials for authentication and authorization checks when using a private key or a secret key. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. SEE ALSOBooksIntel CDSA Application Developer's Guide Online HelpFunctions for the CSSM API: CSSM_QuerySize, CSSM_DecryptData, CSSM_EncryptDataInit, CSSM_EncryptDataUpdate, CSSM_EncryptDataFinal, CSSM_EncryptDataP, CSSM_EncryptDataInitP, CSSM_DecryptP, CSSM_DecryptDataInitP Functions for the CSP SPI: CSP_QuerySize, CSP_DecryptData, CSP_EncryptDataInit, CSP_EncryptDataUpdate, CSP_EncryptDataFinal |