RSA Security 5 manual KIECPrivateComponentBER

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 276
Image 276

KI_ECPrivateComponentBER

KI_ECPrivateComponentBER

Purpose:

This KI allows you to specify the private component of an EC private key. Unlike KI_ECPrivate, it does not contain the underlying EC parameters and it is not to be used with any algorithms. It provides a way to extract the EC private key.

Type of information this allows you to use:

an elliptic curve private key without its curve parameters.

Format of info supplied to B_SetKeyInfo:

pointer to an ITEM structure that contains the private key component of an EC private key.

Format of info returned by B_GetKeyInfo:

pointer to an ITEM structure that contains the address and length of an ANSI X9.62- style BER encoding of a private key component.

Restrictions:

Key objects built with this KI are not compatible with any Crypto-C AI. This KI is supplied only as a convenience to extract the EC private key component.

Can get this info type if key object already has:

KI_ECPrivateComponent, KI_ECPrivateComponentBER,

KI_ECPrivate, or KI_ECPrivateBER.

2 6 6

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 276
Image 276
RSA Security 5 manual KIECPrivateComponentBER