RSA Security 5 manual KIRSAPrivateBSAFE1, Bsafe 1.x encoding of an RSA private key

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 294
Image 294

KI_RSAPrivateBSAFE1

KI_RSAPrivateBSAFE1

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 private 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 private key for an algorithm other than RSA.

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_RSAPrivateBSAFE1, KI_RSA_CRT, KI_PKCS_RSAPrivate or KI_PKCS_RSAPrivateBER.

2 8 4

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

Page 294
Image 294
RSA Security 5 manual KIRSAPrivateBSAFE1, Bsafe 1.x encoding of an RSA private key