Adjust COSE tags terminology to match RFC8152
parent
529ec14773
commit
d7a11f5b43
|
@ -6,9 +6,9 @@ enum CBOR::Tag : UInt32
|
|||
Decimal
|
||||
BigFloat
|
||||
|
||||
CSOEEnCrypt = 16
|
||||
CSOEMac
|
||||
CSOESign
|
||||
COSE_Encrypt0 = 16 # COSE Single Recipient Encrypted Data Object
|
||||
COSE_Mac0 = 17 # COSE Mac w/o Recipients Object
|
||||
COSE_Sign1 = 18 # COSE Single Signer Data Object
|
||||
|
||||
ExpectBase64URL = 21
|
||||
ExpectBase64
|
||||
|
@ -26,5 +26,9 @@ enum CBOR::Tag : UInt32
|
|||
|
||||
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
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue