Browse Source

Moved cbor tags to config

They are pretty project dependent after all
master
Ludovic 'Archivist' Lagouardette 3 years ago
parent
commit
6e7905ab9a
1 changed files with 1 additions and 26 deletions
  1. +1
    -26
      include/gp/ipc/envelope/cbor.hpp

+ 1
- 26
include/gp/ipc/envelope/cbor.hpp View File

@ -36,31 +36,6 @@ namespace gp {
terminator = 31 terminator = 31
}; };
enum class cbor_tags {
datetime = 0,
unix_time = 1,
ubignum = 2,
nbignum = 3,
decimal = 4,
bigfloat = 5,
cose_encrypt0 = 16,
cose_mac0 = 17,
cose_sign1 = 18,
expected_base64url = 21,
expected_base64 = 22,
expected_base16 = 23,
encoded_cbor = 24,
url = 32,
base64url = 33,
base64 = 34,
regexp = 35,
mime = 36,
cose_encrypt = 96,
cose_mac = 97,
cose_sign = 98,
signature = 55799
};
struct cbor_number final { struct cbor_number final {
bool sign; bool sign;
uint64_t value; uint64_t value;
@ -227,7 +202,7 @@ namespace gp {
struct cbor_tag_initiator { struct cbor_tag_initiator {
union { union {
size_t as_integer; size_t as_integer;
cbor_tags tag;
gp_config::cbor_tag tag;
}; };
}; };

Loading…
Cancel
Save