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

    Type Alias KeyManagerParams

    Params for initializing a Btc1KeyManager class instance.

    type KeyManagerParams = {
        keys?: KeyPair;
        keyStore?: KeyValueStore<KeyIdentifier, KeyPair>;
        keyUri?: KeyIdentifier;
    }
    Index

    Properties

    keys?: KeyPair

    An optional property to pass in an initial key pair

    keyStore?: KeyValueStore<KeyIdentifier, KeyPair>

    An optional property to specify a custom KeyValueStore instance for key management. If not provided, Btc1KeyManager uses a default MemoryStore instance. This store is responsible for managing cryptographic keys, allowing them to be retrieved, stored, and managed during cryptographic operations.

    keyUri?: KeyIdentifier

    An optional property to specify a key URI for the key manager. If not provided, the key manager will generate a key URI based on the public key of the key pair.