Package web5.sdk.dids
Class ResolutionResult
-
- All Implemented Interfaces:
public final class ResolutionResultRepresentation of the result of a DID (Decentralized Identifier) resolution.
The
ResolutionResultholds the data returned from resolving a DID. It includes the resolved DID document, metadata about the DID document, and metadata about the resolution process itself.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classResolutionResult.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Documentdocumentprivate final DocumentMetadatadocumentMetadataprivate final ResolutionMetadataresolutionMetadatapublic final static ResolutionResult.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ResolutionResult(Document document, DocumentMetadata documentMetadata, ResolutionMetadata resolutionMetadata)
-
Method Summary
Modifier and Type Method Description final DocumentgetDocument()The resolved DID document (optional). final DocumentMetadatagetDocumentMetadata()Metadata related to the resolved DID document (optional). final ResolutionMetadatagetResolutionMetadata()Metadata about the resolution process, including errors if any occurred. -
-
Constructor Detail
-
ResolutionResult
ResolutionResult(Document document, DocumentMetadata documentMetadata, ResolutionMetadata resolutionMetadata)
-
-
Method Detail
-
getDocument
final Document getDocument()
The resolved DID document (optional).
-
getDocumentMetadata
final DocumentMetadata getDocumentMetadata()
Metadata related to the resolved DID document (optional).
-
getResolutionMetadata
final ResolutionMetadata getResolutionMetadata()
Metadata about the resolution process, including errors if any occurred.
-
-
-
-