ManifestSignatureKey

data class ManifestSignatureKey(val kid: String, val publicKey: ByteArray)

A trusted Ed25519 verification key, resolved by the protected kid.

Constructors

Link copied to clipboard
constructor(kid: String, publicKey: ByteArray)

Properties

Link copied to clipboard
val kid: String

The key id, matched against the kid in the signature's protected header.

Link copied to clipboard

Raw 32-byte Ed25519 public key.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two keys are equal when both the kid and the key bytes match.

Link copied to clipboard
open override fun hashCode(): Int

Consistent with equals: hashes the kid and the key bytes.