CwtClaimsSet

A CWT Claims Set (RFC 8392) carrying a confirmation key (RFC 8747), the CCS credential type of EDHOC (RFC 9528 §3.5.2): { 2: subject, 8: { 1: COSE_Key } }.

EDHOC hashes credentials as received, so encoded keeps the exact bytes a credential was parsed from; toCbor is only used for credentials created locally.

Constructors

Link copied to clipboard
constructor(subject: String?, confirmationKey: CoseKey)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The bytes this claims set was decoded from, or its own encoding when created locally.

Link copied to clipboard

Functions

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