RSA Security 5 Projection Television User Manual


 
KI_ECPrivateComponentBER
266 RSA BSAFE Crypto-C Library Reference Manual
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.