Class SignatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
io.github.fherbreteau.vodozemac.exception.SignatureException
- All Implemented Interfaces:
Serializable
Thrown when signature verification fails.
This occurs when a Megolm message's Ed25519 signature is invalid, which can happen if the message was tampered with, or if the message is decrypted with an inbound group session that does not match the outbound group session that created it.
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureException(String message) Constructs a newSignatureExceptionwith the specified detail message.SignatureException(String message, Throwable cause) Constructs a newSignatureExceptionwith the specified detail message and a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SignatureException
Constructs a newSignatureExceptionwith the specified detail message.- Parameters:
message- the detail message
-
SignatureException
-