Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Protected db

db: IDBPDatabase

Static IDENTITY_STORAGE

IDENTITY_STORAGE: string = "identity"

Static REMOTE_STORAGE

REMOTE_STORAGE: string = "remoteIdentity"

Static SESSION_STORAGE

SESSION_STORAGE: string = "sessions"

Static STORAGE_NAME

STORAGE_NAME: string = "webcrypto-remote"

Methods

loadIdentity

  • loadIdentity(): Promise<Identity>

loadRemoteIdentity

  • loadRemoteIdentity(key: string): Promise<RemoteIdentity>

loadSession

  • loadSession(key: string): Promise<AsymmetricRatchet>

loadWrapKey

  • loadWrapKey(): Promise<IWrapKey | null>

saveIdentity

  • saveIdentity(value: Identity): Promise<void>

saveRemoteIdentity

  • saveRemoteIdentity(key: string, value: RemoteIdentity): Promise<void>

saveSession

  • saveSession(key: string, value: AsymmetricRatchet): Promise<void>

saveWrapKey

  • saveWrapKey(key: IWrapKey): Promise<void>

Static create

Generated using TypeDoc