...
- export produces serialized wallet representation which will be encrypted without leaking any information about wallet contents (not even count).
The serialized output will be in the form of VC (refer: https://w3c-ccg.github.io/universal-wallet-interop-spec/contexts/wallet-v1.json)
Sample: exported-wallet.json - import loads serialized representation into wallet. This operation should have the knowledge of key or password used to export wallet contents.
Sample: imported-wallet.json Lock: transforms wallet contents from plaintext to ciphertext.Sample: locked-wallet.jsonUnlock: transforms wallet contents from ciphertext to plaintext. Needs knowledge of key/password used to lock the wallet.Sample: unlocked-wallet.json
Note: we are going to support only export and import options. Since exported wallets are always locked, no need to have explicit lock/unlock wallet interfaces.
API Dependencies:
- KMS: use key plugin for cryptographic operations, if not provided then fallback to aries-framework-go kms api.
- VDRI: use DID plugin, if not provided then fallback to aries-framework-go vdri api.
...