payloadType property
The media type the request payload is encoded as, and sealed under
(bound in the AAD). null is application/cbor. For compact wire keys
(docs/design/compact-wire-keys.md ยง5.1) it is
application/vnd.cratestack.compact+cbor.
When it is not CBOR the request must also carry the
Cratestack-Payload-Type header: send what
ClientEnvelope.selectorHeaders returns. An envelope, a +cbor-seq
stream or a multipart type is CoseMisuse.
Implementation
final String? payloadType;