Q1: Which statement correctly divides responsibility between RFC 8392 and an A2A CWT profile?
Multiple ChoiceA constrained A2A profile wants compact authorization claims and plans to use CWTs protected by COSE.
These questions separate CBOR representation, COSE processing, claim validation, creator trust, and downstream authorization. Section numbers refer to RFC 8392.
A constrained A2A profile wants compact authorization claims and plans to use CWTs protected by COSE.
An A2A message schema says that field 4 contains a CWT. The field contains an untagged COSE_Sign1 object, and the receiver knows its type from that schema position.
The CWT is a valid CBOR map and its COSE_Sign1 signature verifies. The A2A profile requires aud to identify this resource and exp to be current, but the validator has not examined either claim. Authorization requires both profile conditions.
An A2A profile defines private claim 500 as the required operation class and says requests without a recognized value are rejected. One implementation understands it; another applies the generic unknown-claim rule and ignores it. Interoperable authorization is the decision criterion.
Five devices share the same symmetric COSE MAC key. A MACed CWT says iss=device-A, and its MAC verifies. The authorization rule requires evidence that device-A, rather than another group member, created the claims.
An A2A gateway validates a CWT, checks aud=gateway, and forwards plain JSON containing sub and operation to a resource-owning backend. The backend receives the JSON over an authenticated gateway connection but neither the CWT nor a gateway assertion covering audience, issuer, and validation time. Backend policy requires evidence intended for this backend operation.
A generic CBOR library encodes the exp claim as CBOR tag 1 applied to an epoch number. The CWT profile needs the standard RFC 8392 exp claim, not a newly defined claim.
A producer encodes claim key 7 as the CBOR text string "token-123". The receiver expects the registered cti claim and uses it for replay-state lookup.
A recipient successfully decrypts a COSE_Encrypt0 CWT. The plaintext begins with a COSE_Sign1 tag, but the implementation parses its payload as claims and authorizes without validating the inner signature.
An A2A profile needs both signer privacy and protection against stripping a signature from a nested CWT. Its editor claims RFC 8392 universally mandates one nesting order.