Class UntrustedOmemoIdentityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
All Implemented Interfaces:
Serializable

Exception that gets thrown when we try to en-/decrypt a message for an untrusted contact. This might either be because the user actively untrusted a device, or we receive a message from a contact which contains an identityKey that differs from the one the user trusted.
See Also:
  • Constructor Details

    • UntrustedOmemoIdentityException

      Constructor for when we receive a message with an identityKey different from the one we trusted.
      Parameters:
      device - device which sent the message.
      fpTrusted - fingerprint of the identityKey we previously had and trusted.
      fpUntrusted - fingerprint of the new key which is untrusted.
    • UntrustedOmemoIdentityException

      Constructor for when encryption fails because the user untrusted a recipients device.
      Parameters:
      device - device the user wants to encrypt for, but which has been marked as untrusted.
      untrustedKey - fingerprint of that device.
  • Method Details