Class EciesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
io.github.fherbreteau.vodozemac.exception.EciesException
- All Implemented Interfaces:
Serializable
Thrown when an ECIES operation fails.
This can occur during:
- Outbound channel establishment, e.g. due to a non-contributory key where at least one of the keys did not have contributory behaviour and the resulting shared secret would have been insecure
- Inbound channel establishment, e.g. due to a non-contributory key or a malformed initial message
- Message decryption, e.g. due to a corrupted message, a replayed message, or a key mismatch
- Author:
- François HERBRETEAU
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEciesException(String message) Constructs a newEciesExceptionwith the specified detail message.EciesException(String message, Throwable cause) Constructs a newEciesExceptionwith 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
-
EciesException
Constructs a newEciesExceptionwith the specified detail message.- Parameters:
message- the detail message
-
EciesException
-