KI_ECPublicComponent

KI_ECPublicComponent

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

C h a p t e r 3 K e y I n f o Ty p e s

269

Page 279
Image 279
RSA Security 5 manual KIECPublicComponent, An elliptic curve public key without its curve parameters