RSA Security 5 manual A p t e r 2 a l g o r i t h m I n f o Ty p e s 177

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 187
Image 187

AI_PKCS_RSAPublicPEM

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.

Compatible representation:

AI_PKCS_RSAPublic, AI_PKCS_RSAPublicBER.

Input constraints:

The total number of bytes to encrypt may not be more than k – 11, where k is the key’s modulus size in bytes.

Output considerations:

The output of encryption will be the same size as the key’s modulus.

C h a p t e r 2 A l g o r i t h m I n f o Ty p e s

177

Page 187
Image 187
RSA Security 5 manual A p t e r 2 a l g o r i t h m I n f o Ty p e s 177