KeypackageRefInterface

A lightweight distinct reference to a KeyPackage sufficient to uniquely identify it

This contains some metadata to assist in sorting and filtering refs without needing to perform the relatively heavy operation of converting to a full keypackage.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun ciphersuite(): Ciphersuite

Get the ciphersuite associated with this key package ref.

Link copied to clipboard

Get the credential type associated with this key package ref.

Link copied to clipboard
abstract fun hashRef(): ByteArray

Get the bytes of the hash reference to a `Keypackage`

Link copied to clipboard
abstract fun isValid(): Boolean

Determines whether this keypackage is valid in the sense of the former client_valid_keypackages_count method.

Link copied to clipboard

Get the signature scheme associated wtih this key package ref.