Support crit header parameter

Issue #43 resolved
Vladimir Dzhuvinov created an issue

The critical (crit) header parameter was added in version 09 of the JWS and JWE drafts:

http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-09#section-4.1.10 http://tools.ietf.org/html/draft-ietf-jose-json-web-encryption-09#section-4.1.15

Besides adding the appropriate getter/setter methods we need to consider how to handle header criticality at the library level and how to interface that to crypto provider code and app code.

Comments (3)

  1. Vladimir Dzhuvinov reporter

    Current implementation passes "crit" header processing to the app code. If there is need to do more sophisticated checking -> open new ticket.

  2. Log in to comment