Skip to main content

Storage

@iota/identity-wasm API documentation


Class: Storage

A type wrapping a JwkStorage and KeyIdStorage that should always be used together when working with storage backed DID documents.

Constructors​

new Storage()​

new Storage(jwkStorage, keyIdStorage): Storage

Constructs a new Storage.

Parameters​

jwkStorage​

JwkStorage

keyIdStorage​

KeyIdStorage

Returns​

Storage

Methods​

keyIdStorage()​

keyIdStorage(): KeyIdStorage

Obtain the wrapped KeyIdStorage.

Returns​

KeyIdStorage


keyStorage()​

keyStorage(): JwkStorage

Obtain the wrapped JwkStorage.

Returns​

JwkStorage