@guarani/jose
Version:
Implementation of the RFCs of the JOSE Working Group.
28 lines (27 loc) • 737 B
TypeScript
import { SupportedEllipticCurve } from './types/supported-elliptic-curve';
/**
* Meta information of the Elliptic Curves.
*/
interface EllipticCurveParams {
/**
* Identifier of the Elliptic Curve.
*/
readonly id: SupportedEllipticCurve;
/**
* Name of the Elliptic Curve as registered with NodeJS' `crypto` module.
*/
readonly name: string;
/**
* String representation of the Object Identifier of the Elliptic Curve.
*/
readonly oid: string;
/**
* Length of the Private Value and parameters of the key's Coordinate.
*/
readonly length: number;
}
/**
* Elliptic Curves Registry.
*/
export declare const ELLIPTIC_CURVES_REGISTRY: EllipticCurveParams[];
export {};