Interface PrivateKey

An abstract representation of a private key. It is associated to a signature scheme and provides signing capabilities.

interface PrivateKey {
    publicKey(): PublicKey;
    sign(message): Signature;
    toUint8Array(): Uint8Array;
}

Implemented by

Methods