@ SuppressWarnings ( "PMD.LawOfDemeter" ) public < T > T validateAndDecrypt ( final Collection < ? extends Key > keys , final Validator < T > validator ) { return validator . validateAndDecrypt ( keys , this ) ; }
Check the validity of this token against a collection of keys . Use this if you have implemented key rotation .