
AI_PKCS_RSAPublic
AI_PKCS_RSAPublic
Purpose:
This AI allows you to encrypt data using the RSA
Type of information this allows you to use:
the RSA algorithm for performing
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_EncryptInit, B_EncryptUpdate, B_EncryptFinal, and B_DecryptInit, B_DecryptUpdate, and B_DecryptFinal. Note that B_EncryptUpdate and B_EncryptFinal require a random algorithm. You may pass (B_ALGORITHM_OBJ)NULL_PTR for the randomAlgorithm argument in B_DecryptUpdate and B_DecryptFinal.
Algorithm methods to include in application’s algorithm chooser:
AM_RSA_ENCRYPT for encryption or AM_RSA_DECRYPT for decryption.
Key info types for keyObject in B_EncryptInit or B_DecryptInit:
KI_RSAPublic, KI_RSAPublicBER, or KI_RSAPublicBSAFE1.
1 7 2 | 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 |