Class JwsSigningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.jose.JwsSigningException
- All Implemented Interfaces:
Serializable
A failure to sign with an application-owned RSA key, or to verify the signature before releasing it.
Every reason has a fixed message without key, provider or credential contents. No cause or suppressed
exception is retained. Applications catch these exceptions; only Revetsec constructs them.
- Since:
- 1.0.0
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns why signing failed.Methods inherited from class RevetsecException
getCategory, isTemporaryConditionModifier and TypeMethodDescriptionfinal @NonNull ErrorCategoryReturns the category of this failure.Returns whether this failure is classified as a temporary condition.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getReason
Returns why signing failed.- Returns:
- the fixed reason
- Since:
- 1.0.0
-