interface ECDSAPrivateKey {
    jwk: JsonWebKey;
    publicKey: ECDSAPublicKey;
    raw: Uint8Array;
    type: "ECDSA";
    equals(key?): boolean;
    sign(data): Uint8Array | Promise<Uint8Array>;
}

Properties

Methods

Properties

jwk: JsonWebKey

The private key as a JSON web key

publicKey: ECDSAPublicKey

The public key that corresponds to this private key

The private key as a DER-encoded PKIMessage

type: "ECDSA"

The type of this key

Methods