CreateDidOptions

@Serializable
data class CreateDidOptions(val keyManagementMode: KeyManagementMode = KeyManagementMode.INTERNAL_SECRET, val storeSecrets: Boolean = false, val returnSecrets: Boolean = false, val secret: Secret? = null, val didDocument: DidDocument? = null, val methodSpecificOptions: Map<String, JsonElement> = emptyMap())

Options for DID creation operations according to DID Registration specification.

Supports both Internal Secret Mode and External Secret Mode (Client-managed).

See also

https

://identity.foundation/did-registration/

Constructors

Link copied to clipboard
constructor(keyManagementMode: KeyManagementMode = KeyManagementMode.INTERNAL_SECRET, storeSecrets: Boolean = false, returnSecrets: Boolean = false, secret: Secret? = null, didDocument: DidDocument? = null, methodSpecificOptions: Map<String, JsonElement> = emptyMap())

Properties

Link copied to clipboard

Pre-created DID Document.

Link copied to clipboard

Key management mode.

Link copied to clipboard
val methodSpecificOptions: Map<String, JsonElement>

Method-specific options.

Link copied to clipboard

Whether the registrar should return secrets to the client.

Link copied to clipboard

Secret material provided by the client.

Link copied to clipboard

Whether the registrar should store the generated secrets.