Class: Storage
identity_wasm.Storage
A type wrapping a JwkStorage and KeyIdStorage that should always be used together when
working with storage backed DID documents.
Table of contents
Constructors
Methods
Constructors
constructor
• new Storage(jwkStorage, keyIdStorage)
Constructs a new Storage.
Parameters
| Name | Type |
|---|---|
jwkStorage | JwkStorage |
keyIdStorage | KeyIdStorage |
Methods
keyIdStorage
▸ keyIdStorage(): KeyIdStorage
Obtain the wrapped KeyIdStorage.
Returns
keyStorage
▸ keyStorage(): JwkStorage
Obtain the wrapped JwkStorage.