Class SignatureException

All Implemented Interfaces:
Serializable

public class SignatureException extends VodozemacException
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 Details

    • SignatureException

      public SignatureException(String message)
      Constructs a new SignatureException with the specified detail message.
      Parameters:
      message - the detail message
    • SignatureException

      public SignatureException(String message, Throwable cause)
      Constructs a new SignatureException with the specified detail message and a cause.
      Parameters:
      message - the detail message
      cause - the cause