Class OmemoMamDecryptionTest


@SpecificationReference(document="XEP-0384", version="0.3.0") public class OmemoMamDecryptionTest extends AbstractTwoUsersOmemoIntegrationTest
This test sends a message from Alice to Bob, while Bob has automatic decryption disabled. Then Bob fetches his Mam archive and decrypts the result.
  • Constructor Details

  • Method Details

    • mamDecryptionTest

      @SmackIntegrationTest public void mamDecryptionTest() throws org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException, org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException, IOException
      Throws:
      org.jivesoftware.smack.XMPPException.XMPPErrorException
      org.jivesoftware.smack.SmackException.NotLoggedInException
      org.jivesoftware.smack.SmackException.NotConnectedException
      InterruptedException
      org.jivesoftware.smack.SmackException.NoResponseException
      org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException
      org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
      IOException