KI_ECPublicComponentBER

KI_ECPublicComponentBER

Purpose:

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

Type of information this allows you to use:

an elliptic curve public key without its curve parameters.

Format of info supplied to B_SetKeyInfo:

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

Format of info returned by B_GetKeyInfo:

pointer to an ITEM structure that contains the address and length of an ANSI X9.62 compliant BER encoding of the public key component of an EC public key.

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 public component.

Can get this info type if key object already has:

KI_ECPublicComponent, KI_ECPublicComponentBER,

KI_ECPublic, or KI_ECPublicBER.

2 7 0

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 280
Image 280
RSA Security 5 manual KIECPublicComponentBER