KeyInfo

data class KeyInfo(val id: String, val algorithm: String, val publicKeyJwk: Map<String, Any?>? = null, val publicKeyMultibase: String? = null, val createdAt: Instant = Clock.System.now())

Key information model.

Parameters

id

Key ID

algorithm

Key algorithm (e.g., "Ed25519", "secp256k1")

publicKeyJwk

Public key in JWK format (optional)

publicKeyMultibase

Public key in multibase format (optional)

createdAt

Creation timestamp

Constructors

Link copied to clipboard
constructor(id: String, algorithm: String, publicKeyJwk: Map<String, Any?>? = null, publicKeyMultibase: String? = null, createdAt: Instant = Clock.System.now())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard