MethodCapabilities

@Serializable
data class MethodCapabilities(val method: String = "", val create: Boolean = false, val resolve: Boolean = true, val update: Boolean = false, val deactivate: Boolean = false, val keyTypes: List<String> = emptyList(), val features: List<String> = emptyList())

Capabilities supported by a DID method implementation.

Canonical, single definition merging the previously duplicated org.trustweave.did.discovery.MethodCapabilities and org.trustweave.did.registration.model.MethodCapabilities.

Constructors

Link copied to clipboard
constructor(method: String = "", create: Boolean = false, resolve: Boolean = true, update: Boolean = false, deactivate: Boolean = false, keyTypes: List<String> = emptyList(), features: List<String> = emptyList())

Properties

Link copied to clipboard

Whether this implementation supports creating new DIDs.

Link copied to clipboard

Whether this implementation supports deactivating DIDs.

Link copied to clipboard

Additional feature identifiers supported by this method.

Link copied to clipboard

Supported key types (e.g. "Ed25519", "P-256").

Link copied to clipboard

The DID method name (e.g. "key", "web", "ion").

Link copied to clipboard

Whether this implementation supports resolving DIDs.

Link copied to clipboard

Whether this implementation supports updating DID documents.