The privilege to be applied during the cryptographic
operation.
See CSSM_EncryptDataInit for
other parameters. DESCRIPTIONThis function is similar to CSSM_EncryptDataInit(). It also accepts a USEE tag as a privilege request parameter.
CSSM checks that either its privilege set or the application's privilege
set (if the application is signed) includes the tag. If the tag
is found and the service provider privilege set indicates that it
is supported, the tag is forwarded to the service provider.
For staged operations using privilege initialization functions CSSM_EncryptDataInitP(), the completion functions CSSM_EncryptDataUpdate() and CSSM_EncryptDataFinalize() are used.
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. ERRORSErrors are described in the CDSA Technical Standard.