
AI_DSA
AI_DSA
Purpose:
This AI allows you to create or verify raw DSA signatures when the
Type of information this allows you to use:
the DSA signature algorithm for performing raw DSA signing and verifying as defined in FIPS PUB 186.
Format of info supplied to B_SetAlgorithmInfo:
NULL_PTR.
Format of info returned by B_GetAlgorithmInfo:
NULL_PTR.
Crypto-C procedures to use with algorithm object:
B_SignInit, B_SignUpdate, B_SignFinal, B_VerifyInit, B_VerifyUpdate, and
B_VerifyFinal. You must pass a random algorithm in B_SignFinal, but may pass (B_ALGORITHM_OBJ)NULL_PTR for all other randomAlgorithm arguments.
Algorithm methods to include in application’s algorithm chooser:
AM_DSA_SIGN for signature creation and AM_DSA_VERIFY for signature verification.
Key info types for keyObject in B_SignInit:
KI_DSAPrivate, KI_DSAPrivateBER, or KI_DSAPrivateX957BER.
Key info types for keyObject in B_VerifyInit:
KI_DSAPublic, KI_DSAPublicBER, or KI_DSAPublicX957BER.
5 0 | R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l |