A SERVICE OF

logo

Chapter 3 Key Info Types 287
KI_RSAPublicBSAFE1
KI_RSAPublicBSAFE1
Purpose:
Deprecated. This type is included only for backward compatibility.
Type of information this allows you to use:
the BSAFE 1.x encoding of an RSA public key.
Format of info supplied to B_SetKeyInfo:
pointer to an ITEM structure that gives the address and length of the BSAFE 1.x
encoding.
B_SetKeyInfo returns BE_WRONG_KEY_INFO if the encoding specifies a public
key for an algorithm other than the RSA algorithm.
Format of info returned by B_GetKeyInfo:
pointer to an ITEM structure that gives the address and length of the BSAFE 1.x
encoding.
Can get this info type if key object already has:
KI_RSAPublicBSAFE1, KI_RSAPublic, KI_PKCS_RSAPrivate, KI_PKCS_RSAPrivateBER
or
KI_RSAPublicBER.