WaltIdVcSigner
Sign the DDO with a walt.id wallet key, so the asset's issuer is a real DID.
Usage
const = new ({ : 'https://wallet.example.org' })
const { } = await .()
const [{ : }] = await .()
const [] = await .(, )
const [{ }] = await .(, )
const = new ({
,
,
: ..,
,
}) Pair it with setIssuer when the document's declared
issuer should match.
Parameters
options
| Option | Type | Purpose |
|---|---|---|
wallet | WaltIdWallet | The wallet client. |
walletId | string | Which wallet to sign with. |
keyId | string | Which key in that wallet. |
did | string | Becomes the credential's issuer. |
token | string | The bearer token from authenticate. |
See signing.