![]() |
|
Uniot Core
|
| 0.8.1 |
CBOR Object Signing and Encryption (COSE) implementation. More...
Classes | |
| class | uniot::COSEMessage |
| Implementation of COSE_Sign1 message format as specified in RFC 8152. More... | |
| class | uniot::ICOSESigner |
| Interface for CBOR Object Signing and Encryption (COSE) signing operations. More... | |
Enumerations | |
| enum | uniot::COSETag { uniot::Sign = 98 , uniot::Sign1 = 18 , uniot::Encrypted = 96 , uniot::Encrypted1 = 16 , uniot::Mac = 97 , uniot::Mac0 = 17 } |
| CBOR tag values that identify the type of COSE message. More... | |
| enum | uniot::COSEHeaderLabel { uniot::Algorithm = 1 , uniot::Critical = 2 , uniot::ContentType = 3 , uniot::KeyIdentifier = 4 , uniot::IV = 5 , uniot::PartialIV = 6 , uniot::CounterSignature = 7 , uniot::CounterSignature0 = 9 } |
| Common header parameter labels for COSE messages. More... | |
| enum | uniot::COSEAlgorithm { uniot::PS256 = -37 , uniot::PS384 = -38 , uniot::PS512 = -39 , uniot::ES256 = -7 , uniot::ES384 = -35 , uniot::ES512 = -36 , uniot::EdDSA = -8 } |
| Cryptographic algorithm identifiers for COSE. More... | |
CBOR Object Signing and Encryption (COSE) implementation.
Provides enumerations for working with COSE (RFC 8152), which defines how to create and process signatures, message authentication codes, and encryption using CBOR for IoT applications.
COSE uses CBOR encoding and provides similar functionality to JOSE (JSON Object Signing and Encryption) but with a more compact representation.
| enum uniot::COSEAlgorithm |
Cryptographic algorithm identifiers for COSE.
These values identify cryptographic algorithms used in COSE messages. Negative values are used for crypto algorithms as per the COSE standard. The algorithms are described in RFC 8152 Sections 8, 9, and 10.
Common header parameter labels for COSE messages.
These integer values identify header parameters in the protected and unprotected header maps of COSE messages, as defined in RFC 8152 Section 3.
| enum uniot::COSETag |
CBOR tag values that identify the type of COSE message.
These tags are used in CBOR encoding to indicate the COSE message type. Each tag corresponds to a specific security operation defined in RFC 8152.