@did-btc1/key-pair
    Preparing search index...

    Interface IKeyPair

    Interface for class KeyPair. IKeyPair

    interface IKeyPair {
        privateKey?: PrivateKey;
        publicKey: PublicKey;
        json(): KeyPairJSON;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    privateKey?: PrivateKey

    If the private key is not available.

    publicKey: PublicKey

    Methods

    • JSON representation of a KeyPair object.

      Returns KeyPairJSON

      The key pair as a JSON object.