Adjust COSE tags terminology to match RFC8152
parent
529ec14773
commit
d7a11f5b43
|
@ -6,9 +6,9 @@ enum CBOR::Tag : UInt32
|
||||||
Decimal
|
Decimal
|
||||||
BigFloat
|
BigFloat
|
||||||
|
|
||||||
CSOEEnCrypt = 16
|
COSE_Encrypt0 = 16 # COSE Single Recipient Encrypted Data Object
|
||||||
CSOEMac
|
COSE_Mac0 = 17 # COSE Mac w/o Recipients Object
|
||||||
CSOESign
|
COSE_Sign1 = 18 # COSE Single Signer Data Object
|
||||||
|
|
||||||
ExpectBase64URL = 21
|
ExpectBase64URL = 21
|
||||||
ExpectBase64
|
ExpectBase64
|
||||||
|
@ -26,5 +26,9 @@ enum CBOR::Tag : UInt32
|
||||||
|
|
||||||
CBORWebToken = 61
|
CBORWebToken = 61
|
||||||
|
|
||||||
|
COSE_Encrypt = 96 # COSE Encrypted Data Object
|
||||||
|
COSE_Mac = 97 # COSE MACed Data Object
|
||||||
|
COSE_Sign = 98 # COSE Signed Data Object
|
||||||
|
|
||||||
SelfDescribeCBOR = 55799
|
SelfDescribeCBOR = 55799
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue