Package web5.sdk.dids.methods.dht
Class DidDhtCreateOptions
-
- All Implemented Interfaces:
public final class DidDhtCreateOptionsRepresents the options used when creating a DID using the DHT method.
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleanpublishprivate final StringgatewayUrlprivate final KeyManagerkeyManagerprivate final List<Service>serviceprivate final List<String>controllerprivate final List<String>alsoKnownAsprivate final List<VerificationMethod>verificationMethod
-
Constructor Summary
Constructors Constructor Description DidDhtCreateOptions(Boolean publish, String gatewayUrl, KeyManager keyManager, List<Service> service, List<String> controller, List<String> alsoKnownAs, List<VerificationMethod> verificationMethod)
-
Method Summary
Modifier and Type Method Description final BooleangetPublish()Specifies whether to publish the DID after creation (defaults to true). final StringgetGatewayUrl()The URL of the gateway to use for publishing or resolving the DID. final KeyManagergetKeyManager()The key manager used for key storage and management. final List<Service>getService()A list of services to add to the DID document. final List<String>getController()A list of controllers for the DID document. final List<String>getAlsoKnownAs()A list of additional identifiers for the DID document. final List<VerificationMethod>getVerificationMethod()A list of cryptographic verification methods for the DID document. -
-
Method Detail
-
getPublish
final Boolean getPublish()
Specifies whether to publish the DID after creation (defaults to true).
-
getGatewayUrl
final String getGatewayUrl()
The URL of the gateway to use for publishing or resolving the DID.
-
getKeyManager
final KeyManager getKeyManager()
The key manager used for key storage and management.
-
getService
final List<Service> getService()
A list of services to add to the DID document.
-
getController
final List<String> getController()
A list of controllers for the DID document.
-
getAlsoKnownAs
final List<String> getAlsoKnownAs()
A list of additional identifiers for the DID document.
-
getVerificationMethod
final List<VerificationMethod> getVerificationMethod()
A list of cryptographic verification methods for the DID document.
-
-
-
-