I just wanted it to look similar to parseJWS method (which returns false when signature is not correct). But I agree this is meaningless for JWE. I'll make it a void method.