Package io.vertx.ext.auth
Class NoSuchKeyIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.vertx.ext.auth.NoSuchKeyIdException
-
- All Implemented Interfaces:
Serializable
public final class NoSuchKeyIdException extends RuntimeException
No such KeyId exception is thrown when a JWT with a well known "kid" does not find a matching "kid" in the crypto list.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchKeyIdException(String alg)
NoSuchKeyIdException(String alg, String kid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Returns the missing key with the formatALGORITHM + '#' + KEY_ID
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-