Static
methodName of the DID method, as defined in the DID Web specification.
Static
getMUST be implemented by all DID method implementations that extend DidMethod.
Given the W3C DID Document of a DID, return the verification method that will be used for
signing messages and credentials. If given, the methodId
parameter is used to select the
verification method. If not given, each DID method implementation will select a default
verification method from the DID Document.
The parameters for the getSigningMethod
operation.
DID Document to get the verification method from.
Optional
methodID of the verification method to use for signing.
Verification method to use for signing.
Static
resolveResolves a did:web
identifier to a DID Document.
The DID to be resolved.
Optional
_options: DidResolutionOptionsOptional parameters for resolving the DID. Unused by this DID method.
A Promise resolving to a DidResolutionResult object representing the result of the resolution.
The
DidWeb
class provides an implementation of thedid:web
DID method.Features:
did:web
to its corresponding DID Document.Remarks
The
did:web
method uses a web domain's existing reputation and aims to integrate decentralized identities with the existing web infrastructure to drive adoption. It leverages familiar web security models and domain ownership to provide accessible, interoperable digital identity management.See
DID Web Specification
Example