Check if user is authenticated.
Get the DID identifier of the user.
Authenticate the user.
Create an IPFS compatibe DagJWE encrypted to the given recipients.
The cleartext to be encrypted, may include ipld links
An array of DIDs
Optional parameters
Create an IPFS compatibe DagJWS encoded signature over the given payload. Will be signed by the currently authenticated DID.
The payload to sign, may include ipld links
Optional parameters
Create a JWE encrypted to the given recipients.
The cleartext to be encrypted
An array of DIDs
Optional parameters
Create a JWS encoded signature over the given payload. Will be signed by the currently authenticated DID.
The payload to sign
Optional parameters
Try to decrypt the given DagJWE with the currently authenticated user.
The JWE to decrypt
An ipld object
Try to decrypt the given JWE with the currently authenticated user.
The JWE to decrypt
Optional parameters
Resolve the DID Document of the given DID.
The DID to resolve
Set the DID provider of this instance. Only callable if provider not already set.
The DIDProvider to use
Set the DID-resolver user by this instance
Either a Resolver instance or an object with specific resolvers
A custom cache to use for the created resolver. Will be ignored if a Resolver instance is passed
Verify a JWS. Uses the 'kid' in the header as the way to resolve the author public key.
The JWS to verify
Information about the signed JWS
Generated using TypeDoc
Interact with DIDs.