Package web5.sdk.dids.methods.web
Class DidWeb
-
- All Implemented Interfaces:
public final class DidWebProvides functionality for creating and resolving "did:web" method Decentralized Identifiers (DIDs).
The "did:web" method uses web domains as the identifier, allowing DIDs to be hosted on web servers and leveraging the web's existing reputation system for decentralized identifiers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDidWeb.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static DidWeb.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description DidWeb()
-
Method Summary
Modifier and Type Method Description final static ResolutionResultresolve(String uri)Resolves a "did:web" DID into a ResolutionResult. -
-
Method Detail
-
resolve
final static ResolutionResult resolve(String uri)
Resolves a "did:web" DID into a ResolutionResult.
This method resolves a DID URI by fetching the DID document from the associated web domain.
- Parameters:
uri- The DID URI to resolve.- Returns:
A ResolutionResult containing the DID document and related metadata.
-
-
-
-