Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface to be implemented by object capable of persisting private keys data and metadata.

Hierarchy

  • IKeyEntryStorage

Implemented by

Index

Methods

clear

  • clear(): Promise<void>

exists

  • exists(name: string): Promise<boolean>
  • Checks if key entry exists by name.

    Parameters

    • name: string

      Name of the entry to check.

    Returns Promise<boolean>

    • Promise resolved with true if key entry exists, or false otherwise.

list

load

  • load(name: string): Promise<IKeyEntry | null>

remove

  • remove(name: string): Promise<boolean>
  • Removes key entry by name.

    Parameters

    • name: string

      Name of the key entry to remove.

    Returns Promise<boolean>

    • Promise resolved with true if key entry was removed, or false otherwise.

save

update