Package org.jivesoftware.smackx.omemo
Class OmemoManagerSetupHelper
java.lang.Object
org.jivesoftware.smackx.omemo.OmemoManagerSetupHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertAllDevicesAreDecided(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) static voidassertAllDevicesAreTrusted(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) static voidassertAllDevicesAreUndecided(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) static voidassertAllDevicesAreUntrusted(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) static voidcleanUpPubSub(org.jivesoftware.smackx.omemo.OmemoManager omemoManager) static voidcleanUpRoster(org.jivesoftware.smackx.omemo.OmemoManager omemoManager) static org.jivesoftware.smackx.omemo.OmemoManagerprepareOmemoManager(org.jivesoftware.smack.XMPPConnection connection) static voidtrustAllIdentities(org.jivesoftware.smackx.omemo.OmemoManager alice, org.jivesoftware.smackx.omemo.OmemoManager bob) static voidtrustAllIdentitiesWithTests(org.jivesoftware.smackx.omemo.OmemoManager alice, org.jivesoftware.smackx.omemo.OmemoManager bob)
-
Constructor Details
-
OmemoManagerSetupHelper
public OmemoManagerSetupHelper()
-
-
Method Details
-
trustAllIdentities
public static void trustAllIdentities(org.jivesoftware.smackx.omemo.OmemoManager alice, org.jivesoftware.smackx.omemo.OmemoManager bob) throws InterruptedException, org.jivesoftware.smack.SmackException.NotConnectedException, org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException, org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smackx.pubsub.PubSubException.NotALeafNodeException, IOException - Throws:
InterruptedExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionorg.jivesoftware.smack.SmackException.NotLoggedInExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionExceptionorg.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smackx.pubsub.PubSubException.NotALeafNodeExceptionIOException
-
trustAllIdentitiesWithTests
public static void trustAllIdentitiesWithTests(org.jivesoftware.smackx.omemo.OmemoManager alice, org.jivesoftware.smackx.omemo.OmemoManager bob) throws InterruptedException, org.jivesoftware.smack.SmackException.NotConnectedException, org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException, org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smackx.pubsub.PubSubException.NotALeafNodeException, IOException - Throws:
InterruptedExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionorg.jivesoftware.smack.SmackException.NotLoggedInExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionExceptionorg.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smackx.pubsub.PubSubException.NotALeafNodeExceptionIOException
-
prepareOmemoManager
public static org.jivesoftware.smackx.omemo.OmemoManager prepareOmemoManager(org.jivesoftware.smack.XMPPConnection connection) throws Exception - Throws:
Exception
-
assertAllDevicesAreUndecided
public static void assertAllDevicesAreUndecided(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) -
assertAllDevicesAreUntrusted
public static void assertAllDevicesAreUntrusted(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) -
assertAllDevicesAreDecided
public static void assertAllDevicesAreDecided(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) -
assertAllDevicesAreTrusted
public static void assertAllDevicesAreTrusted(org.jivesoftware.smackx.omemo.OmemoManager manager, Map<org.jivesoftware.smackx.omemo.internal.OmemoDevice, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint> devices) -
cleanUpPubSub
public static void cleanUpPubSub(org.jivesoftware.smackx.omemo.OmemoManager omemoManager) throws IOException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException - Throws:
IOExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionInterruptedException
-
cleanUpRoster
public static void cleanUpRoster(org.jivesoftware.smackx.omemo.OmemoManager omemoManager)
-