Class DidDocumentMetadata
-
- All Implemented Interfaces:
public class DidDocumentMetadataContains metadata about the DID document. DID document metadata spec: https://www.w3.org/TR/did-core/#did-document-metadata
-
-
Field Summary
Fields Modifier and Type Field Description private Stringcreatedprivate Stringupdatedprivate Booleandeactivatedprivate StringversionIdprivate StringnextUpdateprivate StringnextVersionIdprivate StringequivalentIdprivate StringcanonicalId
-
Method Summary
Modifier and Type Method Description final StringgetCreated()Timestamp of when the DID was created. final UnitsetCreated(String created)Timestamp of when the DID was created. final StringgetUpdated()Timestamp of the last time the DID was updated. final UnitsetUpdated(String updated)Timestamp of the last time the DID was updated. final BooleangetDeactivated()Indicates whether the DID has been deactivated. final UnitsetDeactivated(Boolean deactivated)Indicates whether the DID has been deactivated. final StringgetVersionId()Specific version of the DID document. final UnitsetVersionId(String versionId)Specific version of the DID document. final StringgetNextUpdate()Timestamp of the next expected update of the DID document. final UnitsetNextUpdate(String nextUpdate)Timestamp of the next expected update of the DID document. final StringgetNextVersionId()The version ID expected for the next version of the DID document. final UnitsetNextVersionId(String nextVersionId)The version ID expected for the next version of the DID document. final StringgetEquivalentId()Alternative ID that can be used interchangeably with the canonical DID. final UnitsetEquivalentId(String equivalentId)Alternative ID that can be used interchangeably with the canonical DID. final StringgetCanonicalId()The canonical ID of the DID as per method-specific rules. final UnitsetCanonicalId(String canonicalId)The canonical ID of the DID as per method-specific rules. -
-
Method Detail
-
getCreated
final String getCreated()
Timestamp of when the DID was created.
-
setCreated
final Unit setCreated(String created)
Timestamp of when the DID was created.
-
getUpdated
final String getUpdated()
Timestamp of the last time the DID was updated.
-
setUpdated
final Unit setUpdated(String updated)
Timestamp of the last time the DID was updated.
-
getDeactivated
final Boolean getDeactivated()
Indicates whether the DID has been deactivated.
trueif deactivated,falseotherwise.
-
setDeactivated
final Unit setDeactivated(Boolean deactivated)
Indicates whether the DID has been deactivated.
trueif deactivated,falseotherwise.
-
getVersionId
final String getVersionId()
Specific version of the DID document.
-
setVersionId
final Unit setVersionId(String versionId)
Specific version of the DID document.
-
getNextUpdate
final String getNextUpdate()
Timestamp of the next expected update of the DID document.
-
setNextUpdate
final Unit setNextUpdate(String nextUpdate)
Timestamp of the next expected update of the DID document.
-
getNextVersionId
final String getNextVersionId()
The version ID expected for the next version of the DID document.
-
setNextVersionId
final Unit setNextVersionId(String nextVersionId)
The version ID expected for the next version of the DID document.
-
getEquivalentId
final String getEquivalentId()
Alternative ID that can be used interchangeably with the canonical DID.
-
setEquivalentId
final Unit setEquivalentId(String equivalentId)
Alternative ID that can be used interchangeably with the canonical DID.
-
getCanonicalId
final String getCanonicalId()
The canonical ID of the DID as per method-specific rules.
-
setCanonicalId
final Unit setCanonicalId(String canonicalId)
The canonical ID of the DID as per method-specific rules.
-
-
-
-