Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

addDevice(int) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Add a device to the list of active devices and remove it from inactive.
addFailures(CannotEstablishOmemoSessionException) - Method in exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
 
addInactiveDevice(int) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
addInBounds(int, int) - Static method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Add integers modulo MAX_VALUE.
addOmemoMessageListener(OmemoMessageListener) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Add an OmemoMessageListener.
addOmemoMucMessageListener(OmemoMucMessageListener) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Add an OmemoMucMessageListener.
addRecipient(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Add a new recipient device to the message.
addSuccess(OmemoDevice) - Method in exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
 
asMessage(Jid) - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Sent
Return the OmemoElement wrapped in a Message ready to be sent.
ATTR_IV - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
ATTR_PAYLOAD - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
ATTR_PREKEY - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
ATTR_RID - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
ATTR_SID - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 

B

blocksOf8Chars() - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
Split the fingerprint in blocks of 8 characters with spaces between.
BODY_OMEMO_HINT - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
BUNDLE - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
BUNDLE - Variable in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
 
Bundle() - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
 
bundleFromOmemoBundle(OmemoBundleElement, OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Build a crypto-lib specific PreKeyBundle (T_Bundle) using a PreKey from the OmemoBundleElement 'bundle'.
bundles(OmemoBundleElement, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Break up the OmemoBundleElement into a list of crypto-lib specific bundles (T_PreKey).

C

CachingOmemoStore<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo
This class implements the Proxy Pattern in order to wrap an OmemoStore with a caching layer.
CachingOmemoStore(OmemoKeyUtil<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_ECPub, T_Bundle>) - Constructor for class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
CachingOmemoStore(OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>) - Constructor for class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
CannotEstablishOmemoSessionException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception gets thrown when we are unable to establish a session with a device for some reason.
CannotEstablishOmemoSessionException(OmemoDevice, Throwable) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
 
charAt(int) - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 
CipherAndAuthTag - Class in org.jivesoftware.smackx.omemo.internal
Encapsulate Cipher and AuthTag.
CipherAndAuthTag(byte[], byte[], byte[], boolean) - Constructor for class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
CIPHERMODE - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants.Crypto
 
CiphertextTuple - Class in org.jivesoftware.smackx.omemo.internal
Bundles a decrypted ciphertext together with information about the message type.
CiphertextTuple(byte[], int) - Constructor for class org.jivesoftware.smackx.omemo.internal.CiphertextTuple
Create a new CiphertextTuple.
contactSupportsOmemo(BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns true, if the contact has any active devices published in a deviceList.
contains(int) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Returns true if deviceId is either in the list of active or inactive devices.
containsRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
containsRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
containsRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return true, if we have a session with the device, otherwise false.
copyDeviceIds() - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
CorruptedOmemoKeyException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception gets thrown, when an invalid key is encountered.
CorruptedOmemoKeyException(String) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
 
createDefaultOmemoStoreBackend() - Method in class org.jivesoftware.smackx.omemo.OmemoService
Create a default OmemoStore object.
Crypto() - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoConstants.Crypto
 
CryptoFailedException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception gets thrown when some cryptographic function failed.
CryptoFailedException(String) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException
 
CryptoFailedException(Exception) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException
 

D

decrypt(BareJid, OmemoElement) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Manually decrypt an OmemoElement.
decryptMamQueryResult(MamManager.MamQuery) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Decrypt messages from a MAM query.
deleteDirectory(File) - Static method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
Delete a directory with all subdirectories.
DEVICE - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
distrustOmemoIdentity(OmemoDevice, OmemoFingerprint) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Distrust the fingerprint/OmemoDevice tuple.
doubleRatchetDecrypt(OmemoDevice, byte[]) - Method in class org.jivesoftware.smackx.omemo.OmemoRatchet
Decrypt a double-ratchet-encrypted message key.
doubleRatchetEncrypt(OmemoDevice, byte[]) - Method in class org.jivesoftware.smackx.omemo.OmemoRatchet
Encrypt a messageKey with the double ratchet session of the recipient.

E

ellipticCurvePublicKeyFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize an elliptic curve public key from bytes.
encrypt(BareJid, String) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
OMEMO encrypt a cleartext message for a single recipient.
encrypt(Set<BareJid>, String) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
OMEMO encrypt a cleartext message for multiple recipients.
encrypt(MultiUserChat, String) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Encrypt a message for all recipients in the MultiUserChat.
equals(Object) - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
equals(Object) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
 
equals(Object) - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 

F

FileBasedOmemoStore<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo
Like a rocket!
FileBasedOmemoStore(File) - Constructor for class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
FileBasedOmemoStore.FileHierarchy - Class in org.jivesoftware.smackx.omemo
This class represents the directory structure of the FileBasedOmemoStore.
finish() - Method in class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Assemble an OmemoMessageElement from the current state of the builder.
from(List<CryptoFailedException>) - Static method in exception org.jivesoftware.smackx.omemo.exceptions.MultipleCryptoFailedException
 

G

generateIv() - Static method in class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Generate a 16 byte initialization vector for AES encryption.
generateKey(String, int) - Static method in class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Generate a new AES key used to encrypt the message.
generateOmemoIdentityKeyPair() - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Generate a new IdentityKeyPair.
generateOmemoIdentityKeyPair() - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Generate a new IdentityKeyPair.
generateOmemoPreKeys(int, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Generate 'count' new PreKeys beginning with id 'startId'.
generateOmemoPreKeys(int, int) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Generate 'count' new PreKeys beginning with id 'startId'.
generateOmemoSignedPreKey(T_IdKeyPair, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Generate a new signed preKey.
generateOmemoSignedPreKey(T_IdKeyPair, int) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Generate a new signed preKey.
get() - Method in class org.jivesoftware.smackx.omemo.OmemoManager.LoggedInOmemoManager
 
getActiveDevices() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Returns all active devices.
getActiveFingerprints(BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return all OmemoFingerprints of active devices of a contact.
getAddOmemoHintBody() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Determine, whether an OMEMO message should carry a plaintext hint about OMEMO encryption.
getAllDevices() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Returns an OmemoDeviceListElement containing all devices (active and inactive).
getAuthTag() - Method in class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
getBody() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Received
Return the decrypted body of the message.
getBundleNodeName() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
Return the name of the PubSub LeafNode of this device.
getCipher() - Method in class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
getCiphertext() - Method in class org.jivesoftware.smackx.omemo.internal.CiphertextTuple
Return the ciphertext.
getCompleteSessionWithEmptyMessage() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Determine, whether incoming preKeyMessages should automatically be answered by an empty message in order to complete the session.
getConfigUri() - Method in class org.jivesoftware.smackx.omemo.OmemoInitializer
 
getCryptoFailedExceptions() - Method in exception org.jivesoftware.smackx.omemo.exceptions.MultipleCryptoFailedException
 
getData() - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
getDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
getDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
getDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return the date of the last time the deviceId was published after previously being not published.
getDateOfLastReceivedMessage(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
getDateOfLastReceivedMessage(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
getDateOfLastReceivedMessage(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return the date of the last message that was received from device 'from'.
getDateOfLastSignedPreKeyRenewal(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
getDateOfLastSignedPreKeyRenewal(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
getDateOfLastSignedPreKeyRenewal(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Get the date of the last time the signed preKey was renewed.
getDeleteStaleDevices() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
getDeleteStaleDevicesAfterHours() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
getDevice() - Method in exception org.jivesoftware.smackx.omemo.exceptions.NoIdentityKeyException
 
getDevice() - Method in exception org.jivesoftware.smackx.omemo.exceptions.StaleDeviceException
Return the stale OMEMO device.
getDevice() - Method in exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
Return the device which sent the message.
getDeviceId() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
Return the OMEMO device Id of the device.
getDeviceId() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return the deviceId of this OmemoManager.
getDeviceIds() - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
getDevicesOf(BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return a set of all OMEMO capable devices of a contact.
getDeviceWithoutSession() - Method in exception org.jivesoftware.smackx.omemo.exceptions.NoRawSessionException
 
getElement() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage
Return the original OmemoElement (<encrypted/>).
getElementName() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
getElementName() - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
getElementName() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
getElementName() - Method in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
getElementName() - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
getExceptions() - Method in exception org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException
 
getFailures() - Method in exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
 
getFingerprint(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Get the fingerprint of a contacts device.
getFingerprint(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return our identityKeys fingerprint.
getFingerprint(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return the fingerprint of the identityKey belonging to contactsDevice.
getFingerprintAndMaybeBuildSession(OmemoManager.LoggedInOmemoManager, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return the fingerprint of the given devices announced identityKey.
getFingerprintOfIdentityKey(T_IdKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Return the fingerprint of an identityKey.
getFingerprintOfIdentityKeyPair(T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Returns the fingerprint of the public key of an identityKeyPair.
getHeader() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
getId() - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
getIdentityKey() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Return the public identityKey of the bundles owner.
getIgnoreStaleDevices() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
getIgnoreStaleDevicesAfterHours() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
getInactiveDevices() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Return all inactive devices.
getInstance() - Static method in class org.jivesoftware.smackx.omemo.OmemoService
Return the singleton instance of this class.
getInstanceFor(XMPPConnection, Integer) - Static method in class org.jivesoftware.smackx.omemo.OmemoManager
Return an OmemoManager instance for the given connection and deviceId.
getInstanceFor(XMPPConnection) - Static method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns an OmemoManager instance for the given connection.
getIntendedDevices() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Sent
Return a list of all devices the sender originally intended to encrypt the message for.
getIv() - Method in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
getIv() - Method in class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
getIv() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage
Return the initialization vector belonging to the key.
getJid() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
Return the BareJid of the device owner.
getKey() - Method in class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
getKey() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage
Return the messageKey (or transported key in case of a KeyTransportMessage).
getKeys() - Method in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
getLastDeviceIdPublicationDate() - Method in exception org.jivesoftware.smackx.omemo.exceptions.StaleDeviceException
Return the date of the last time the deviceId was republished after being inactive/non-existent before.
getLastMessageDate() - Method in exception org.jivesoftware.smackx.omemo.exceptions.StaleDeviceException
Return the date on which the last OMEMO message sent from the device was received.
getMaxNumberOfStoredSignedPreKeys() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Return the maximum number of signed preKeys that are cached until the oldest one gets deleted.
getMessage() - Method in class org.jivesoftware.smackx.omemo.util.MessageOrOmemoMessage
 
getMessageType() - Method in class org.jivesoftware.smackx.omemo.internal.CiphertextTuple
Return the messageType.
getNamespace() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement_VAxolotl
 
getNamespace() - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement_VAxolotl
 
getNamespace() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement_VAxolotl
 
getOmemoMessage() - Method in class org.jivesoftware.smackx.omemo.util.MessageOrOmemoMessage
 
getOmemoRatchet(OmemoManager) - Method in class org.jivesoftware.smackx.omemo.OmemoService
Return the deposited instance of the OmemoRatchet for the given manager.
getOmemoStoreBackend() - Method in class org.jivesoftware.smackx.omemo.OmemoService
Return the used omemoStore backend.
getOwnDevice() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return the OmemoDevice of the user.
getOwnFingerprint() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return the fingerprint of our identity key.
getOwnJid() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Return the BareJid of the user.
getPayload() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
Return the payload of the message.
getPreKey(int) - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Return a single preKey from the map.
getPreKeys() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Return the HashMap of preKeys in the bundle.
getProvidersUri() - Method in class org.jivesoftware.smackx.omemo.OmemoInitializer
 
getRenewOldSignedPreKeys() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Determine, whether signed preKeys are automatically rotated or not.
getRenewOldSignedPreKeysAfterHours() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Get the interval in hours, after which the published signed preKey should be renewed.
getRepairBrokenSessionsWithPreKeyMessages() - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Determine, whether incoming messages, which have broken sessions should automatically be answered by an empty preKeyMessage in order to establish a new session.
getSenderDevice() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Received
Return the OmemoDevice which sent the message.
getSendersFingerprint() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Received
Return the fingerprint of the messages sender device.
getSid() - Method in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
Return the deviceId of the sender of the message.
getSignedPreKey() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Return the signedPreKey of the OmemoBundleElement.
getSignedPreKeyId() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Return the id of the signedPreKey in the bundle.
getSignedPreKeySignature() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Get the signature of the signedPreKey.
getSkippedDevices() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Sent
Return a map of all skipped recipients and the reasons for skipping.
getSuccesses() - Method in exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
 
getTrust(OmemoDevice, OmemoFingerprint) - Method in interface org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
 
getTrustedFingerprint() - Method in exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
Return the fingerprint of the key we expected.
getUndecidedDevices() - Method in exception org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
Return the HashSet of undecided devices.
getUntrustedFingerprint() - Method in exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
Return the fingerprint of the unexpected untrusted key.

H

hashCode() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
hashCode() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
 
hashCode() - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 

I

ID - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
IDENTITY_KEY - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
identityKey(OmemoBundleElement) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Extract an IdentityKey from a OmemoBundleElement.
identityKeyForBundle(T_IdKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Prepare an identityKey for transport in an OmemoBundleElement (serialize it).
identityKeyFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize an identityKey from a byte array.
identityKeyFromPair(T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Extract the public identityKey from an identityKeyPair.
identityKeyPairFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize an identityKeyPair from a byte array.
identityKeyPairToBytes(T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
serialize an identityKeyPair into bytes.
identityKeyToBytes(T_IdKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Serialize an identityKey into bytes.
initializationFailed(Exception) - Method in interface org.jivesoftware.smackx.omemo.OmemoManager.InitializationFinishedCallback
 
initializationFinished(OmemoManager) - Method in interface org.jivesoftware.smackx.omemo.OmemoManager.InitializationFinishedCallback
 
initialize() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Initializes the OmemoManager.
initializeAsync(OmemoManager.InitializationFinishedCallback) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Initialize the manager without blocking.
instantiateOmemoRatchet(OmemoManager, OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>) - Method in class org.jivesoftware.smackx.omemo.OmemoService
Return a new instance of the OMEMO ratchet.
isActive(int) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
isDecidedOmemoIdentity(OmemoDevice, OmemoFingerprint) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns true, if the fingerprint/OmemoDevice tuple is decided by the user.
isKeyTransportElement() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
isKeyTransportMessage() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Received
Return true, if the message was a KeyTransportMessage.
isMessageElement() - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
isMissingRecipients() - Method in class org.jivesoftware.smackx.omemo.OmemoMessage.Sent
Determine, if some recipients were skipped during encryption.
isOmemoMessage() - Method in class org.jivesoftware.smackx.omemo.util.MessageOrOmemoMessage
 
isPreKey() - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
isPreKeyMessage() - Method in class org.jivesoftware.smackx.omemo.internal.CiphertextTuple
Returns true if this is a preKeyMessage.
isServiceRegistered() - Static method in class org.jivesoftware.smackx.omemo.OmemoService
Returns true, if an instance of the service singleton is set.
isTrustedOmemoIdentity(OmemoDevice, OmemoFingerprint) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns true, if the fingerprint/OmemoDevice tuple is trusted, otherwise false.

J

join(UndecidedOmemoIdentityException) - Method in exception org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
Add all undecided devices of another Exception to this Exceptions HashSet of undecided devices.

K

KEYLENGTH - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants.Crypto
 
KEYTYPE - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants.Crypto
 
keyUtil() - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
keyUtil() - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return a concrete KeyUtil object that we can use as a utility to create keys etc.

L

length() - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 
LIST - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
loadAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load all crypto-lib specific session objects of contact 'contact'.
loadCachedDeviceList(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadCachedDeviceList(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadCachedDeviceList(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load a list of deviceIds from contact 'contact' from the local cache.
loadCachedDeviceList(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load a list of deviceIds from our own devices.
loadCurrentOmemoSignedPreKeyId(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
 
loadOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load the public identityKey of a device.
loadOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load our identityKeyPair from storage.
loadOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load the preKey with id 'preKeyId' from storage.
loadOmemoPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return all our current OmemoPreKeys.
loadOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Return the signedPreKey with the id 'singedPreKeyId'.
loadOmemoSignedPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadOmemoSignedPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadOmemoSignedPreKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load all our signed PreKeys.
loadRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
loadRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
loadRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Load the crypto-lib specific session object of the device from storage.
localDeviceIdsOf(BareJid) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
localDeviceIdsOf(BareJid) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
localDeviceIdsOf(BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Returns a sorted set of all the deviceIds, the localUser has had data stored under in the store.
LoggedInOmemoManager(OmemoManager) - Constructor for class org.jivesoftware.smackx.omemo.OmemoManager.LoggedInOmemoManager
 
LOGGER - Static variable in class org.jivesoftware.smackx.omemo.OmemoService
 

M

merge(Set<Integer>) - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
Merge a device list update into the CachedDeviceList.
MessageOrOmemoMessage - Class in org.jivesoftware.smackx.omemo.util
 
MessageOrOmemoMessage(Message) - Constructor for class org.jivesoftware.smackx.omemo.util.MessageOrOmemoMessage
 
MessageOrOmemoMessage(OmemoMessage.Received) - Constructor for class org.jivesoftware.smackx.omemo.util.MessageOrOmemoMessage
 
MultipleCryptoFailedException - Exception in org.jivesoftware.smackx.omemo.exceptions
 
multiUserChatSupportsOmemo(MultiUserChat) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns true, if the MUC with the EntityBareJid multiUserChat is non-anonymous and members only (prerequisite for OMEMO encryption in MUC).

N

NAME_ENCRYPTED - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
NAME_HEADER - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
NAME_KEY - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
NAMESPACE - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoElement_VAxolotl
 
NoIdentityKeyException - Exception in org.jivesoftware.smackx.omemo.exceptions
 
NoIdentityKeyException(OmemoDevice) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.NoIdentityKeyException
 
NoOmemoSupportException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception that indicates, that a MUC does not support OMEMO.
NoOmemoSupportException() - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.NoOmemoSupportException
 
NoRawSessionException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception that gets thrown whenever a OmemoMessage arrives that no OmemoSession was found for to decrypt it.
NoRawSessionException(OmemoDevice, Exception) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.NoRawSessionException
 

O

OMEMO - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
OMEMO_NAMESPACE_V_AXOLOTL - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
Omemo related namespace.
OmemoBundleElement - Class in org.jivesoftware.smackx.omemo.element
Class that represents an OMEMO Bundle element.
OmemoBundleElement(int, String, String, String, HashMap<Integer, String>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Constructor to create a Bundle Element from base64 Strings.
OmemoBundleElement(int, byte[], byte[], byte[], HashMap<Integer, byte[]>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
Constructor to create a Bundle Element from decoded byte arrays.
OmemoBundleElement_VAxolotl - Class in org.jivesoftware.smackx.omemo.element
OMEMO device bundle as described here: https://xmpp.org/extensions/xep-0384.html#usecases-announcing (Example 3).
OmemoBundleElement_VAxolotl(int, String, String, String, HashMap<Integer, String>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoBundleElement_VAxolotl
 
OmemoBundleElement_VAxolotl(int, byte[], byte[], byte[], HashMap<Integer, byte[]>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoBundleElement_VAxolotl
 
OmemoBundleVAxolotlProvider - Class in org.jivesoftware.smackx.omemo.provider
Smack ExtensionProvider that parses OMEMO bundle element into OmemoBundleElement objects.
OmemoBundleVAxolotlProvider() - Constructor for class org.jivesoftware.smackx.omemo.provider.OmemoBundleVAxolotlProvider
 
OmemoCachedDeviceList - Class in org.jivesoftware.smackx.omemo.internal
This class is used to represent device lists of contacts.
OmemoCachedDeviceList() - Constructor for class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
OmemoCachedDeviceList(Set<Integer>, Set<Integer>) - Constructor for class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
OmemoCachedDeviceList(OmemoCachedDeviceList) - Constructor for class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
OmemoCarbonCopyStanzaReceivedListener - Interface in org.jivesoftware.smackx.omemo.internal.listener
Internal listener for OMEMO encrypted carbon copies.
OmemoConfiguration - Class in org.jivesoftware.smackx.omemo
Contains OMEMO related configuration options.
OmemoConfiguration() - Constructor for class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
OmemoConstants - Class in org.jivesoftware.smackx.omemo.util
Some constants related to OMEMO.
OmemoConstants() - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
OmemoConstants.Crypto - Class in org.jivesoftware.smackx.omemo.util
Information about the keys used for message encryption.
OmemoDevice - Class in org.jivesoftware.smackx.omemo.internal
Class that combines a BareJid and a deviceId.
OmemoDevice(BareJid, int) - Constructor for class org.jivesoftware.smackx.omemo.internal.OmemoDevice
Create a new OmemoDevice.
OmemoDeviceListElement - Class in org.jivesoftware.smackx.omemo.element
A OMEMO device list update containing the IDs of all active devices of a contact.
OmemoDeviceListElement(Set<Integer>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
OmemoDeviceListElement(OmemoCachedDeviceList) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
OmemoDeviceListElement_VAxolotl - Class in org.jivesoftware.smackx.omemo.element
The OMEMO device list element with the legacy Axolotl namespace.
OmemoDeviceListElement_VAxolotl(Set<Integer>) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement_VAxolotl
 
OmemoDeviceListElement_VAxolotl(OmemoCachedDeviceList) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement_VAxolotl
 
OmemoDeviceListVAxolotlProvider - Class in org.jivesoftware.smackx.omemo.provider
Smack ExtensionProvider that parses OMEMO device list element into OmemoDeviceListElement objects.
OmemoDeviceListVAxolotlProvider() - Constructor for class org.jivesoftware.smackx.omemo.provider.OmemoDeviceListVAxolotlProvider
 
OmemoElement - Class in org.jivesoftware.smackx.omemo.element
Class that represents an OmemoElement.
OmemoElement(OmemoHeaderElement, byte[]) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoElement
Create a new OmemoMessageElement from a header and a payload.
OmemoElement_VAxolotl - Class in org.jivesoftware.smackx.omemo.element
An OMEMO (PreKey)WhisperMessage element.
OmemoElement_VAxolotl(OmemoHeaderElement_VAxolotl, byte[]) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoElement_VAxolotl
Create a new OmemoMessageElement from a header and a payload.
OmemoFingerprint - Class in org.jivesoftware.smackx.omemo.trust
 
OmemoFingerprint(String) - Constructor for class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 
OmemoHeaderElement - Class in org.jivesoftware.smackx.omemo.element
Header element of the message.
OmemoHeaderElement(int, List<OmemoKeyElement>, byte[]) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
OmemoHeaderElement_VAxolotl - Class in org.jivesoftware.smackx.omemo.element
 
OmemoHeaderElement_VAxolotl(int, List<OmemoKeyElement>, byte[]) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement_VAxolotl
 
OmemoInitializer - Class in org.jivesoftware.smackx.omemo
Initializer class that registers omemo providers.
OmemoInitializer() - Constructor for class org.jivesoftware.smackx.omemo.OmemoInitializer
 
OmemoKeyElement - Class in org.jivesoftware.smackx.omemo.element
Small class to collect key (byte[]), its id and whether its a preKey or not.
OmemoKeyElement(byte[], int) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
OmemoKeyElement(byte[], int, boolean) - Constructor for class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
OmemoKeyUtil<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_ECPub,T_Bundle> - Class in org.jivesoftware.smackx.omemo.util
Class that is used to convert bytes to keys and vice versa.
OmemoKeyUtil() - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
 
OmemoKeyUtil.Bundle - Class in org.jivesoftware.smackx.omemo.util
Bundle related methods.
OmemoManager - Class in org.jivesoftware.smackx.omemo
Manager that allows sending messages encrypted with OMEMO.
omemoManager - Variable in class org.jivesoftware.smackx.omemo.OmemoRatchet
 
OmemoManager.InitializationFinishedCallback - Interface in org.jivesoftware.smackx.omemo
Callback which can be used to get notified, when the OmemoManager finished initializing.
OmemoManager.LoggedInOmemoManager - Class in org.jivesoftware.smackx.omemo
Guard class which ensures that the wrapped OmemoManager knows its BareJid.
OmemoMessage - Class in org.jivesoftware.smackx.omemo
 
OmemoMessage.Received - Class in org.jivesoftware.smackx.omemo
Incoming OMEMO message.
OmemoMessage.Sent - Class in org.jivesoftware.smackx.omemo
Outgoing OMEMO message.
OmemoMessageBuilder<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo.util
Class used to build OMEMO messages.
OmemoMessageBuilder(OmemoDevice, OmemoTrustCallback, OmemoRatchet<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>, byte[], byte[], String) - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Create an OmemoMessageBuilder.
OmemoMessageBuilder(OmemoDevice, OmemoTrustCallback, OmemoRatchet<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>, String) - Constructor for class org.jivesoftware.smackx.omemo.util.OmemoMessageBuilder
Create an OmemoMessageBuilder.
OmemoMessageListener - Interface in org.jivesoftware.smackx.omemo.listener
Listener interface that allows implementations to receive decrypted OMEMO messages.
OmemoMessageStanzaReceivedListener - Interface in org.jivesoftware.smackx.omemo.internal.listener
 
OmemoMucMessageListener - Interface in org.jivesoftware.smackx.omemo.listener
Listener interface that allows implementations to receive decrypted OMEMO MUC messages.
OmemoRatchet<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo
 
OmemoRatchet(OmemoManager, OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>) - Constructor for class org.jivesoftware.smackx.omemo.OmemoRatchet
Constructor.
OmemoService<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo
This class contains OMEMO related logic and registers listeners etc.
OmemoService() - Constructor for class org.jivesoftware.smackx.omemo.OmemoService
Create a new OmemoService object.
OmemoStore<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph> - Class in org.jivesoftware.smackx.omemo
Class that presents some methods that are used to load/generate/store keys and session data needed for OMEMO.
OmemoStore() - Constructor for class org.jivesoftware.smackx.omemo.OmemoStore
Create a new OmemoStore.
OmemoTrustCallback - Interface in org.jivesoftware.smackx.omemo.trust
 
OmemoVAxolotlProvider - Class in org.jivesoftware.smackx.omemo.provider
Smack ExtensionProvider that parses incoming OMEMO Message element into OmemoMessageElement objects.
OmemoVAxolotlProvider() - Constructor for class org.jivesoftware.smackx.omemo.provider.OmemoVAxolotlProvider
 
onOmemoCarbonCopyReceived(CarbonExtension.Direction, Message, Message, OmemoManager.LoggedInOmemoManager) - Method in interface org.jivesoftware.smackx.omemo.internal.listener.OmemoCarbonCopyStanzaReceivedListener
 
onOmemoCarbonCopyReceived(CarbonExtension.Direction, Message, Message, OmemoMessage.Received) - Method in interface org.jivesoftware.smackx.omemo.listener.OmemoMessageListener
 
onOmemoCarbonCopyReceived(CarbonExtension.Direction, Message, Message, OmemoManager.LoggedInOmemoManager) - Method in class org.jivesoftware.smackx.omemo.OmemoService
 
onOmemoMessageReceived(Stanza, OmemoMessage.Received) - Method in interface org.jivesoftware.smackx.omemo.listener.OmemoMessageListener
Gets called, whenever an OmemoMessage has been received and was successfully decrypted.
onOmemoMessageStanzaReceived(Stanza, OmemoManager.LoggedInOmemoManager) - Method in interface org.jivesoftware.smackx.omemo.internal.listener.OmemoMessageStanzaReceivedListener
 
onOmemoMessageStanzaReceived(Stanza, OmemoManager.LoggedInOmemoManager) - Method in class org.jivesoftware.smackx.omemo.OmemoService
 
onOmemoMucMessageReceived(MultiUserChat, Stanza, OmemoMessage.Received) - Method in interface org.jivesoftware.smackx.omemo.listener.OmemoMucMessageListener
Gets called whenever an OMEMO message has been received in a MultiUserChat and successfully decrypted.
org.jivesoftware.smackx.omemo - package org.jivesoftware.smackx.omemo
Classes and interfaces for OMEMO Encryption.
org.jivesoftware.smackx.omemo.element - package org.jivesoftware.smackx.omemo.element
Classes that represent OMEMO related stanzas.
org.jivesoftware.smackx.omemo.exceptions - package org.jivesoftware.smackx.omemo.exceptions
Exceptions.
org.jivesoftware.smackx.omemo.internal - package org.jivesoftware.smackx.omemo.internal
Classes that are used internally to arrange objects.
org.jivesoftware.smackx.omemo.internal.listener - package org.jivesoftware.smackx.omemo.internal.listener
StanzaListeners used for internal purposes.
org.jivesoftware.smackx.omemo.listener - package org.jivesoftware.smackx.omemo.listener
Callbacks and listeners.
org.jivesoftware.smackx.omemo.provider - package org.jivesoftware.smackx.omemo.provider
Provider classes that parse OMEMO related stanzas into objects.
org.jivesoftware.smackx.omemo.trust - package org.jivesoftware.smackx.omemo.trust
Callbacks used to pass trust decisions up to the client.
org.jivesoftware.smackx.omemo.util - package org.jivesoftware.smackx.omemo.util
Helper classes and other stuff.

P

parse(XmlPullParser, int) - Method in class org.jivesoftware.smackx.omemo.provider.OmemoBundleVAxolotlProvider
 
parse(XmlPullParser, int) - Method in class org.jivesoftware.smackx.omemo.provider.OmemoDeviceListVAxolotlProvider
 
parse(XmlPullParser, int) - Method in class org.jivesoftware.smackx.omemo.provider.OmemoVAxolotlProvider
 
PEP_NODE_BUNDLE_FROM_DEVICE_ID(int) - Static method in class org.jivesoftware.smackx.omemo.util.OmemoConstants
Return the node name of the PEP node containing the device bundle of the device with device id deviceId.
PEP_NODE_BUNDLES - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
PEP_NODE_DEVICE_LIST - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
PEP_NODE_DEVICE_LIST_NOTIFY - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
 
PRE_KEY_COUNT_PER_BUNDLE - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants
How many preKeys do we want to publish?
PRE_KEY_ID - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
PRE_KEY_PUB - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
PRE_KEYS - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
preKeyForBundle(T_PreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Prepare a preKey for transport in an OmemoBundleElement.
preKeyFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize a preKey from a byte array.
preKeyPublic(OmemoBundleElement, int) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Extract the preKey with id 'keyId' from the bundle.
preKeyPublicFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize a public preKey from bytes.
preKeyPublicKeyForBundle(T_ECPub) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Prepare an elliptic curve preKey for transport in an OmemoBundleElement.
preKeyPublicKeysForBundle(TreeMap<Integer, T_PreKey>) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Prepare a whole bunche of preKeys for transport.
preKeyToBytes(T_PreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Serialize a preKey into a byte array.
processBundle(OmemoManager, T_Bundle, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoService
Process a received bundle.
PROVIDER - Static variable in class org.jivesoftware.smackx.omemo.util.OmemoConstants.Crypto
 
purgeDeviceList() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Publish a new device list with just our own deviceId in it.
purgeDeviceList(OmemoManager.LoggedInOmemoManager) - Method in class org.jivesoftware.smackx.omemo.OmemoService
Publish a new DeviceList with just our device in it.
purgeOwnDeviceKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
purgeOwnDeviceKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
purgeOwnDeviceKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Delete this device's IdentityKey, PreKeys, SignedPreKeys and Sessions.

R

randomDeviceId() - Static method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns a pseudo random number from the interval [1, Integer.MAX_VALUE].
rawSessionFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize a raw OMEMO Session from bytes.
rawSessionToBytes(T_Sess) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Serialize a raw OMEMO session into a byte array.
rebuildSessionWith(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Build a fresh session with a contacts device.
removeAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeAllRawSessionsOf(OmemoDevice, BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Remove all crypto-lib specific session of a contact.
removeOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeOmemoIdentityKey(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Removes the identityKey of a device.
removeOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeOmemoIdentityKeyPair(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Remove the identityKeyPair of a user.
removeOmemoMessageListener(OmemoMessageListener) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Remove an OmemoMessageListener.
removeOmemoMucMessageListener(OmemoMucMessageListener) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Remove an OmemoMucMessageListener.
removeOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeOmemoPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Remove a preKey from storage.
removeOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeOmemoSignedPreKey(OmemoDevice, int) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Remove a signedPreKey from storage.
removeRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
removeRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
removeRawSession(OmemoDevice, OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Remove a crypto-lib specific session from storage.
replenishKeys(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Replenish our supply of keys.
requestDeviceListUpdateFor(BareJid) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Request a deviceList update from contact contact.
requiresThrowing() - Method in exception org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
Return true, if there is at least one recipient, which would not be able to decipher the message on any of their devices.
resumeStanzaAndPEPListeners() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Register stanza listeners needed for OMEMO.
rotateSignedPreKey() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Rotate the signedPreKey published in our OmemoBundle and republish it.

S

sendRatchetUpdateMessage(OmemoDevice) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Send a ratchet update message.
serverSupportsOmemo(XMPPConnection, DomainBareJid) - Static method in class org.jivesoftware.smackx.omemo.OmemoManager
Returns true, if the Server supports PEP.
setAddOmemoHintBody(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Decide, whether an OMEMO message should carry a plaintext hint about OMEMO encryption.
setCompleteSessionWithEmptyMessage(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Decide, whether incoming preKeyMessages should automatically be answered by an empty message in order to complete the session.
setDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
setDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
setDateOfLastDeviceIdPublication(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Set the date of the last time the deviceId was published.
setDateOfLastReceivedMessage(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
setDateOfLastReceivedMessage(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
setDateOfLastReceivedMessage(OmemoDevice, OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Set the date of the last message that was received from a device.
setDateOfLastSignedPreKeyRenewal(OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
setDateOfLastSignedPreKeyRenewal(OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
setDateOfLastSignedPreKeyRenewal(OmemoDevice, Date) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Set the date of the last time the signed preKey was renewed.
setDeleteStaleDevices(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
setDeleteStaleDevicesAfterHours(int) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
setIgnoreStaleDevices(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
setIgnoreStaleDevicesAfterHours(int) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
 
setInstance(OmemoService<?, ?, ?, ?, ?, ?, ?, ?, ?>) - Static method in class org.jivesoftware.smackx.omemo.OmemoService
Set singleton instance.
setMaxNumberOfStoredSignedPreKeys(int) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Set the maximum number of signed preKeys that are cached until the oldest one gets deleted.
setOmemoStoreBackend(OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph>) - Method in class org.jivesoftware.smackx.omemo.OmemoService
Set an omemoStore as backend.
setRenewOldSignedPreKeys(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Decide, whether signed preKeys are automatically rotated or not.
setRenewOldSignedPreKeysAfterHours(int) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Set the interval in hours, after which the published signed preKey should be renewed.
setRepairBrokenSessionsWithPrekeyMessages(boolean) - Static method in class org.jivesoftware.smackx.omemo.OmemoConfiguration
Decide, whether incoming messages, which have broken sessions should automatically be answered by an empty preKeyMessage in order to establish a new session.
setTrust(OmemoDevice, OmemoFingerprint, TrustState) - Method in interface org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
 
setTrustCallback(OmemoTrustCallback) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Set a TrustCallback for this particular OmemoManager.
SIGNED_PRE_KEY_ID - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
SIGNED_PRE_KEY_PUB - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
SIGNED_PRE_KEY_SIG - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
signedPreKeyFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize a signedPreKey from a byte array.
signedPreKeyId(OmemoBundleElement) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Extract the id of the transported signedPreKey from the bundle.
signedPreKeyIdFromKey(T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
return the id of the given signedPreKey.
signedPreKeyPublic(OmemoBundleElement) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Extract a signedPreKey from an OmemoBundleElement.
signedPreKeyPublicForBundle(T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Prepare a public signedPreKey for transport in a bundle.
signedPreKeyPublicFromBytes(byte[]) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Deserialize a public signedPreKey from bytes.
signedPreKeySignature(OmemoBundleElement) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil.Bundle
Extract the signature of the signedPreKey in the bundle as a byte array.
signedPreKeySignatureFromKey(T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Extract the signature from a signedPreKey.
signedPreKeyToBytes(T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.util.OmemoKeyUtil
Serialize a signedPreKey into a byte array.
StaleDeviceException - Exception in org.jivesoftware.smackx.omemo.exceptions
 
StaleDeviceException(OmemoDevice, Date, Date) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.StaleDeviceException
This exception gets thrown if a message cannot be encrypted for a device due to the device being inactive for too long (stale).
stopStanzaAndPEPListeners() - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Remove active stanza listeners needed for OMEMO.
store - Variable in class org.jivesoftware.smackx.omemo.OmemoRatchet
 
storeCachedDeviceList(OmemoDevice, BareJid, OmemoCachedDeviceList) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeCachedDeviceList(OmemoDevice, BareJid, OmemoCachedDeviceList) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeCachedDeviceList(OmemoDevice, BareJid, OmemoCachedDeviceList) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store the DeviceList of the contact in local storage.
storeOmemoIdentityKey(OmemoDevice, OmemoDevice, T_IdKey) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeOmemoIdentityKey(OmemoDevice, OmemoDevice, T_IdKey) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeOmemoIdentityKey(OmemoDevice, OmemoDevice, T_IdKey) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store the public identityKey of the device.
storeOmemoIdentityKeyPair(OmemoDevice, T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeOmemoIdentityKeyPair(OmemoDevice, T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeOmemoIdentityKeyPair(OmemoDevice, T_IdKeyPair) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store our identityKeyPair in storage.
storeOmemoPreKey(OmemoDevice, int, T_PreKey) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeOmemoPreKey(OmemoDevice, int, T_PreKey) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeOmemoPreKey(OmemoDevice, int, T_PreKey) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store a PreKey in storage.
storeOmemoPreKeys(OmemoDevice, TreeMap<Integer, T_PreKey>) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store a whole bunch of preKeys.
storeOmemoSignedPreKey(OmemoDevice, int, T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeOmemoSignedPreKey(OmemoDevice, int, T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeOmemoSignedPreKey(OmemoDevice, int, T_SigPreKey) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store a signedPreKey in storage.
storeRawSession(OmemoDevice, OmemoDevice, T_Sess) - Method in class org.jivesoftware.smackx.omemo.CachingOmemoStore
 
storeRawSession(OmemoDevice, OmemoDevice, T_Sess) - Method in class org.jivesoftware.smackx.omemo.FileBasedOmemoStore
 
storeRawSession(OmemoDevice, OmemoDevice, T_Sess) - Method in class org.jivesoftware.smackx.omemo.OmemoStore
Store a crypto-lib specific session to storage.
subSequence(int, int) - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 

T

toString() - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
toString() - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
toString() - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
toString() - Method in exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
 
toString() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoCachedDeviceList
 
toString() - Method in class org.jivesoftware.smackx.omemo.internal.OmemoDevice
 
toString() - Method in class org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
 
toXML(String) - Method in class org.jivesoftware.smackx.omemo.element.OmemoBundleElement
 
toXML(String) - Method in class org.jivesoftware.smackx.omemo.element.OmemoDeviceListElement
 
toXML(String) - Method in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
toXML(String) - Method in class org.jivesoftware.smackx.omemo.element.OmemoHeaderElement
 
toXML(String) - Method in class org.jivesoftware.smackx.omemo.element.OmemoKeyElement
 
trustOmemoIdentity(OmemoDevice, OmemoFingerprint) - Method in class org.jivesoftware.smackx.omemo.OmemoManager
Trust that a fingerprint belongs to an OmemoDevice.
TrustState - Enum in org.jivesoftware.smackx.omemo.trust
 
TYPE_OMEMO_MESSAGE - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoElement
 
TYPE_OMEMO_PREKEY_MESSAGE - Static variable in class org.jivesoftware.smackx.omemo.element.OmemoElement
 

U

UndecidedOmemoIdentityException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception that is thrown when the user tries to encrypt a message for a undecided device.
UndecidedOmemoIdentityException(OmemoDevice) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
 
UndecidedOmemoIdentityException(Collection<OmemoDevice>) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
 
UntrustedOmemoIdentityException - Exception in org.jivesoftware.smackx.omemo.exceptions
Exception that gets thrown when we try to en-/decrypt a message for an untrusted contact.
UntrustedOmemoIdentityException(OmemoDevice, OmemoFingerprint, OmemoFingerprint) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
Constructor for when we receive a message with an identityKey different from the one we trusted.
UntrustedOmemoIdentityException(OmemoDevice, OmemoFingerprint) - Constructor for exception org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException
Constructor for when encryption fails because the user untrusted a recipients device.

V

valueOf(String) - Static method in enum org.jivesoftware.smackx.omemo.trust.TrustState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jivesoftware.smackx.omemo.trust.TrustState
Returns an array containing the constants of this enum type, in the order they are declared.

W

wasPreKeyEncrypted() - Method in class org.jivesoftware.smackx.omemo.internal.CipherAndAuthTag
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links