KI_ECPrivateComponent
KI_ECPrivateComponent
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 the private key component of an EC private key.
Restrictions:
Key objects built with this KI are not compatible with any
Can get this info type if key object already has:
KI_ECPrivateComponent, KI_ECPrivateComponentBER,
KI_ECPrivate, or KI_ECPrivateBER.
C h a p t e r 3 K e y I n f o Ty p e s | 265 |