Type alias LocalKeyManagerParams

LocalKeyManagerParams: {
    keyStore?: KeyValueStore<KeyIdentifier, Jwk>;
}

The LocalKeyManagerParams interface specifies the parameters for initializing an instance of LocalKeyManager. It allows the optional inclusion of a KeyValueStore instance for key management. If not provided, a default MemoryStore instance will be used for storing keys in memory. Note that the MemoryStore is not persistent and will be cleared when the application exits.

Type declaration

  • Optional keyStore?: KeyValueStore<KeyIdentifier, Jwk>

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