Package-level declarations

Types

Link copied to clipboard
data class DidCreationOptions(val algorithm: KeyAlgorithm = KeyAlgorithm.ED25519, val purposes: List<KeyPurpose> = listOf(KeyPurpose.AUTHENTICATION), val additionalProperties: Map<String, Any?> = emptyMap())

Type-safe options for DID creation.

Link copied to clipboard

Builder for DidCreationOptions.

Link copied to clipboard

Interface for DID method implementations. Each DID method (e.g., "web", "key", "ion") should implement this interface.

Link copied to clipboard
fun interface DidMethodResolver

Single-method resolver contract extracted from DidMethod for ISP compliance.

Link copied to clipboard

Supported cryptographic algorithms for DID key generation.

Link copied to clipboard

Key purposes as defined in DID Core specification.

Functions

Link copied to clipboard

Extension function to convert DidCreationOptions to Map for backward compatibility.

Link copied to clipboard

Convenience extension for creating a DID using a builder DSL.

Link copied to clipboard

Builder function for creating DidCreationOptions with a fluent API.