Enable Injection of Date Parser
Issue #23
invalid
Unless I am overlooking something, Jose4j requires dates (like nbf
) to be in the form "seconds since epoch". The standard says:
Its value MUST be a number containing a NumericDate value.
Do I understand this correctly that non-numerical representations of date/time (like ISO 8601) are no legal values and should be rejected?
Otherwise it would be nice to have a way to inject a parser for the date/time fields.
PS: It's fun to work with Jose4J, keep up the good work.
Comments (3)
-
reporter -
reporter - changed status to invalid
-
repo owner that was an easy one! thanks :)
- Log in to comment
Well, that was stupid...
(From the standard.)