CreateDidDhtOptions

class CreateDidDhtOptions(val verificationMethods: Iterable<<Error class: unknown class><Jwk, List<Purpose>, String?>>? = null, val services: Iterable<Service>? = null, val publish: Boolean = true, val controllers: Iterable<String>? = null, val alsoKnownAses: Iterable<String>? = null) : CreateDidOptions

Specifies options for creating a new "did:dht" Decentralized Identifier (DID).

Constructors

Link copied to clipboard
constructor(verificationMethods: Iterable<<Error class: unknown class><Jwk, List<Purpose>, String?>>? = null, services: Iterable<Service>? = null, publish: Boolean = true, controllers: Iterable<String>? = null, alsoKnownAses: Iterable<String>? = null)

Properties

Link copied to clipboard

A list of also known as identifiers to add to the DID Document.

Link copied to clipboard

A list of controller DIDs to add to the DID Document.

Link copied to clipboard
val publish: Boolean = true

Whether to publish the DID Document to the DHT after creation.

Link copied to clipboard
val services: Iterable<Service>? = null

A list of Services to add to the DID Document.

Link copied to clipboard
val verificationMethods: Iterable<<Error class: unknown class><Jwk, List<Purpose>, String?>>? = null

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.