@did-btc1/keypair
    Preparing search index...

    Interface KeyPair

    Interface for KeyPair class. KeyPair

    interface KeyPair {
        publicKey: PublicKey;
        secretKey?: SecretKey;
        json(): SchnorrKeyPairObject;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    publicKey: PublicKey
    secretKey?: SecretKey

    If the secret key is not available.

    Methods

    • JSON representation of the SchnorrKeyPair object.

      Returns SchnorrKeyPairObject

      The SchnorrKeyPair as a JSON object.