How to determine that a CBOR data structure is a CWT is application-dependent. In some cases, this information is known from the application context, such as from the position of the CWT in a data structure at which the value must be a CWT. One method of indicating that a CBOR object is a CWT is the use of the “application/cwt” content type by a transport protocol. (RFC 8392: CBOR Web Token (CWT))


Return to list of all ( Media Types | Web Concepts )