KeyHandle

data class KeyHandle(val id: KeyId, val algorithm: String, val publicKeyJwk: Map<String, Any?>? = null, val publicKeyMultibase: String? = null)

Represents a key handle with metadata about the key.

Parameters

id

Type-safe key identifier

algorithm

The cryptographic algorithm (e.g., "Ed25519", "secp256k1")

publicKeyJwk

Public key in JWK format (optional)

publicKeyMultibase

Public key in multibase format (optional)

Constructors

Link copied to clipboard
constructor(id: KeyId, algorithm: String, publicKeyJwk: Map<String, Any?>? = null, publicKeyMultibase: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val id: KeyId
Link copied to clipboard
Link copied to clipboard