CoseKey

class CoseKey(val labels: Map<CoseLabel, DataItem>)

COSE Key.

Parameters

labels

the labels in the COSE Key.

Constructors

Link copied to clipboard
constructor(labels: Map<CoseLabel, DataItem>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Gets the private key in the COSE Key as a EcPrivateKey.

Link copied to clipboard

Gets the public key in the COSE Key as a EcPublicKey.

Link copied to clipboard

Gets the value of the Cose.COSE_KEY_KTY label.

Link copied to clipboard

Functions

Link copied to clipboard

Encodes the COSE Key as a CBOR data item.