Package-level declarations

Types

Link copied to clipboard

COSE elliptic curves (RFC 9053 §7.1).

Link copied to clipboard
object CoseHeader

COSE header parameter labels (RFC 9052 §3.1, RFC 9360, RFC 9528 §3.5.3).

Link copied to clipboard
class CoseKey(val keyType: CoseKeyType, val curve: CoseCurve?, x: ByteArray, y: ByteArray? = null, kid: ByteArray? = null, val algorithm: Int? = null)

A public COSE_Key (RFC 9052 §7). Private parts are never modelled: private keys live in a dev.kcoap.crypto.CryptoBackend.

Link copied to clipboard

COSE key types (RFC 9053 §7, RFC 9052 §7).

Link copied to clipboard

The to-be-authenticated structures of COSE. OSCORE and EDHOC never send full COSE messages; they build these structures and feed them to the AEAD or signature algorithm.

Link copied to clipboard

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