Package web5.sdk.dids.methods.dht
Class CreateDidDhtOptions
-
- All Implemented Interfaces:
-
web5.sdk.dids.CreateDidOptions
public final class CreateDidDhtOptions implements CreateDidOptions
Specifies options for creating a new "did:dht" Decentralized Identifier (DID).
-
-
Method Summary
Modifier and Type Method Description final Iterable<Triple<Jwk, List<Purpose>, String>>getVerificationMethods()A list of Jwks to add to the DID Document mapped to their purposes as verification methods, and an optional controller for the verification method. final Iterable<Service>getServices()A list of Services to add to the DID Document. final BooleangetPublish()Whether to publish the DID Document to the DHT after creation. final Iterable<String>getControllers()A list of controller DIDs to add to the DID Document. final Iterable<String>getAlsoKnownAses()A list of also known as identifiers to add to the DID Document. -
-
Method Detail
-
getVerificationMethods
final Iterable<Triple<Jwk, List<Purpose>, String>> getVerificationMethods()
A list of Jwks to add to the DID Document mapped to their purposes as verification methods, and an optional controller for the verification method.
-
getServices
final Iterable<Service> getServices()
A list of Services to add to the DID Document.
-
getPublish
final Boolean getPublish()
Whether to publish the DID Document to the DHT after creation.
-
getControllers
final Iterable<String> getControllers()
A list of controller DIDs to add to the DID Document.
-
getAlsoKnownAses
final Iterable<String> getAlsoKnownAses()
A list of also known as identifiers to add to the DID Document.
-
-
-
-