KeyMaterial

@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.

Constructors

Link copied to clipboard
constructor(id: String? = null, type: String? = null, privateKeyJwk: JsonObject? = null, privateKeyMultibase: String? = null, additionalProperties: Map<String, String>? = null)

Properties

Link copied to clipboard

Additional key-specific properties.

Link copied to clipboard
val id: String?

Key identifier or reference.

Link copied to clipboard
val privateKeyJwk: JsonObject?

Private key in JWK format (JSON Web Key). Contains the private key material in a standardized format.

Link copied to clipboard

Private key in method-specific format. Used when JWK format is not applicable.

Link copied to clipboard
val type: String?

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

Functions

Link copied to clipboard
open override fun toString(): String

Never prints private key material.