Set the time for which expires and not-before claims should be evaluated.
@param jwt_valid Pointer to a JWT validation object.
@param now Time to use when considering nbf and exp claims.
@return Returns 0 on success, valid errno otherwise.
@remark jwt_validate() will not fail based on time if no expires or
not-before claims exist in a JWT object.
Set the time for which expires and not-before claims should be evaluated.
@param jwt_valid Pointer to a JWT validation object. @param now Time to use when considering nbf and exp claims. @return Returns 0 on success, valid errno otherwise.
@remark jwt_validate() will not fail based on time if no expires or not-before claims exist in a JWT object.