RSA Security 5 manual KIECPrivateBER

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 274
Image 274

KI_ECPrivateBER

KI_ECPrivateBER

Purpose:

This KI allows you to specify a private key used by the Elliptic Curve algorithm. The information consists of the private component and the underlying elliptic curve parameters.

Type of information this allows you to use:

the encoding of an ANSI X9.62-stylekey object identifier that defines an elliptic curve private key. ANSI X9.62 Version 1 does not define the BER encoding for a private key. Although KI_ECPrivateBER is X.509 compliant, it is included only as a means for the convenient internal storage of key data and is not intended for distribution in public networks.

Format of info supplied to B_SetKeyInfo:

pointer to an ITEM structure that contains the ANSI X9.62-styleBER encoding of a private key and its elliptic curve parameters. In compliance with X9.62, you can specify the CHOICE of either a full EC CURVE definition or a NAMED CURVE definition. Both ANSI X9.62 uncompressed and hybrid base points are decoded.

Format of info returned by B_GetKeyInfo:

pointer to an ITEM structure that contains the ANSI X9.62-styleBER encoding of an elliptic curve’s parameters. Note that the re-encoded BER will preserve the original NAMED CURVE representation of the elliptic curve parameters.

Can get this info type if key object already has:

KI_ECPrivate or KI_ECPrivateBER.

2 6 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 274
Image 274
RSA Security 5 manual KIECPrivateBER