verifiablecredentials-crypto-sdk-typescript-keys
Version:
Package for managing keys in the DID space.
26 lines (25 loc) • 496 B
TypeScript
import JsonWebKey from '../JsonWebKey';
import PublicKey from '../PublicKey';
/**
* Represents an Elliptic Curve public key
* @class
* @extends PublicKey
*/
export default class EcPublicKey extends JsonWebKey implements PublicKey {
/**
* curve
*/
crv: string | undefined;
/**
* x co-ordinate
*/
x: string;
/**
* y co-ordinate
*/
y: string;
/**
* Create instance of @class EcPublicKey
*/
constructor(key: EcPublicKey);
}