Interface Ed25519PrivateKey

interface Ed25519PrivateKey {
    publicKey: Ed25519PublicKey;
    raw: Uint8Array;
    type: "Ed25519";
    equals(key?): boolean;
    sign(data): Uint8Array | Promise<Uint8Array>;
}

Properties

Methods

Properties

publicKey: Ed25519PublicKey

The public key that corresponds to this private key

The raw public key bytes

type: "Ed25519"

The type of this key

Methods