pub struct VadeUniversalResolver { /* private fields */ }
Expand description

Resolver for DIDs via Universal Resolver

Implementations

Creates new instance of VadeUniversalResolver.

Trait Implementations

Fetch data about a DID, which returns this DID’s DID document.

Arguments
  • did - DID to fetch data for

Creates a new DID. May also persist a DID document for it, depending on plugin implementation. Read more

Updates data related to a DID. May also persist a DID document for it, depending on plugin implementation. Read more

Processes a DIDComm message as received, usually also prepares a matching response for it. Read more

Processes a DIDComm message as received, this may prepare a matching response for it if the DIDComm message can be interpreted and answered by a plugin’s implementation. Read more

Runs a custom function, this allows to use Vades API for custom calls, that do not belong to Vades core functionality but may be required for a projects use cases. Read more

Creates a new zero-knowledge proof credential definition. A credential definition holds cryptographic key material and is needed by an issuer to issue a credential, thus needs to be created before issuance. A credential definition is always bound to one credential schema. Read more

Creates a new zero-knowledge proof credential offer. This message is the response to a credential proposal. Read more

Creates a new zero-knowledge proof credential proposal. This message is the first in the credential issuance flow. Read more

Creates a new zero-knowledge proof credential schema. The schema specifies properties a credential includes, both optional and mandatory. Read more

Creates a new revocation registry definition. The definition consists of a public and a private part. The public part holds the cryptographic material needed to create non-revocation proofs. The private part needs to reside with the registry owner and is used to revoke credentials. Read more

Updates a revocation registry for a zero-knowledge proof. This step is necessary after revocation one or more credentials. Read more

Issues a new credential. This requires an issued schema, credential definition, an active revocation registry and a credential request message. Read more

Finishes a credential, e.g. by incorporating the prover’s master secret into the credential signature after issuance. Read more

Presents a proof for a zero-knowledge proof credential. A proof presentation is the response to a proof request. Read more

Requests a credential. This message is the response to a credential offering. Read more

Requests a zero-knowledge proof for one or more credentials issued under one or more specific schemas. Read more

Revokes a credential. After revocation the published revocation registry needs to be updated with information returned by this function. Read more

Verifies one or multiple proofs sent in a proof presentation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more