Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Action(val type: String, val url: String? = null, val data: Map<String, JsonElement>? = null, val description: String? = null)

Represents an action required to complete a DID operation.

Link copied to clipboard
@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.

Link copied to clipboard
@Serializable
data class DeactivateDidOptions(val secret: Secret? = null, val methodSpecificOptions: Map<String, JsonElement> = emptyMap())

Options for DID deactivation operations according to DID Registration specification.

Link copied to clipboard
@Serializable
data class DidRegistrationResponse(val jobId: String? = null, val didState: DidState)

Response from DID Registrar operations according to DID Registration specification.

Link copied to clipboard
@Serializable
data class DidState(val state: OperationState, val did: String? = null, val secret: Secret? = null, val didDocument: DidDocument? = null, val action: Action? = null, val reason: String? = null)

Represents the current state of a DID operation according to DID Registration specification.

Link copied to clipboard

Key management mode for DID operations.

Link copied to clipboard
@Serializable
data class KeyMaterial(val id: String? = null, val type: String? = null, val privateKeyJwk: JsonObject? = null, val privateKeyMultibase: String? = null, val additionalProperties: Map<String, String>? = null)

Represents a single key material entry.

Link copied to clipboard
@Serializable
enum OperationState : Enum<OperationState>

Operational states for DID operations.

Link copied to clipboard
@Serializable
data class RegistrarError(val code: String, val message: String, val details: Map<String, String>? = null)

Error information according to DID Registration specification.

Link copied to clipboard
@Serializable
data class Secret(val keys: List<KeyMaterial>? = null, val recoveryKey: String? = null, val updateKey: String? = null, val methodSpecificSecrets: Map<String, String>? = null)

Represents secret/key material returned by a DID Registrar.

Link copied to clipboard
@Serializable
data class UpdateDidOptions(val secret: Secret? = null, val methodSpecificOptions: Map<String, JsonElement> = emptyMap())

Options for DID update operations according to DID Registration specification.