Uniot Core
0.8.1
Loading...
Searching...
No Matches
COSE.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uniot
 Contains all classes and functions related to the Uniot Core.
 

Typedefs

typedef enum uniot::COSETag uniot::COSETag
 
typedef enum uniot::COSEHeaderLabel uniot::COSEHeaderLabel
 
typedef enum uniot::COSEAlgorithm uniot::COSEAlgorithm
 

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