A SERVICE OF

logo

KI_ECPrivateBER
264 RSA BSAFE Crypto-C Library Reference Manual
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-
style
key 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-
style
BER 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-
style
BER 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.