Uses of Class
org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException
Package
Description
Examples and tests for Smack.
Classes and interfaces for OMEMO Encryption.
Concrete implementation of OMEMO for smack using the signal-protocol-java library.
Helper classes and other stuff.
-
Uses of CorruptedOmemoKeyException in org.igniterealtime.smack.examples
-
Uses of CorruptedOmemoKeyException in org.jivesoftware.smackx.omemo
Modifier and TypeMethodDescriptionOmemoManager.decrypt
(BareJid sender, OmemoElement omemoElement) Manually decrypt an OmemoElement.abstract byte[]
OmemoRatchet.doubleRatchetDecrypt
(OmemoDevice sender, byte[] encryptedKey) Decrypt a double-ratchet-encrypted message key.OmemoStore.generateOmemoSignedPreKey
(T_IdKeyPair identityKeyPair, int signedPreKeyId) Generate a new signed preKey.OmemoManager.getActiveFingerprints
(BareJid contact) Return all OmemoFingerprints of active devices of a contact.OmemoManager.getFingerprint
(OmemoDevice device) Get the fingerprint of a contacts device.OmemoStore.getFingerprint
(OmemoDevice userDevice) Return our identityKeys fingerprint.OmemoStore.getFingerprint
(OmemoDevice userDevice, OmemoDevice contactsDevice) Return the fingerprint of the identityKey belonging to contactsDevice.OmemoStore.getFingerprintAndMaybeBuildSession
(OmemoManager.LoggedInOmemoManager managerGuard, OmemoDevice contactsDevice) Return the fingerprint of the given devices announced identityKey.OmemoManager.getOwnFingerprint()
Return the fingerprint of our identity key.void
OmemoManager.initialize()
Initializes the OmemoManager.CachingOmemoStore.loadOmemoIdentityKey
(OmemoDevice userDevice, OmemoDevice contactsDevice) FileBasedOmemoStore.loadOmemoIdentityKey
(OmemoDevice userDevice, OmemoDevice contactsDevice) abstract T_IdKey
OmemoStore.loadOmemoIdentityKey
(OmemoDevice userDevice, OmemoDevice contactsDevice) Load the public identityKey of a device.CachingOmemoStore.loadOmemoIdentityKeyPair
(OmemoDevice userDevice) FileBasedOmemoStore.loadOmemoIdentityKeyPair
(OmemoDevice userDevice) abstract T_IdKeyPair
OmemoStore.loadOmemoIdentityKeyPair
(OmemoDevice userDevice) Load our identityKeyPair from storage.protected abstract void
OmemoService.processBundle
(OmemoManager omemoManager, T_Bundle contactsBundle, OmemoDevice contactsDevice) Process a received bundle.void
OmemoManager.rebuildSessionWith
(OmemoDevice contactsDevice) Build a fresh session with a contacts device.void
OmemoStore.replenishKeys
(OmemoDevice userDevice) Replenish our supply of keys.void
OmemoManager.rotateSignedPreKey()
Rotate the signedPreKey published in our OmemoBundle and republish it.void
OmemoManager.sendRatchetUpdateMessage
(OmemoDevice recipient) Send a ratchet update message. -
Uses of CorruptedOmemoKeyException in org.jivesoftware.smackx.omemo.signal
Modifier and TypeMethodDescriptionorg.whispersystems.libsignal.state.PreKeyBundle
SignalOmemoKeyUtil.bundleFromOmemoBundle
(OmemoBundleElement bundle, OmemoDevice contact, int preKeyId) byte[]
SignalOmemoRatchet.doubleRatchetDecrypt
(OmemoDevice sender, byte[] encryptedKey) org.whispersystems.libsignal.ecc.ECPublicKey
SignalOmemoKeyUtil.ellipticCurvePublicKeyFromBytes
(byte[] data) org.whispersystems.libsignal.state.SignedPreKeyRecord
SignalOmemoKeyUtil.generateOmemoSignedPreKey
(org.whispersystems.libsignal.IdentityKeyPair identityKeyPair, int currentPreKeyId) org.whispersystems.libsignal.IdentityKey
SignalOmemoKeyUtil.identityKeyFromBytes
(byte[] data) org.whispersystems.libsignal.IdentityKeyPair
SignalOmemoKeyUtil.identityKeyPairFromBytes
(byte[] data) protected void
SignalOmemoService.processBundle
(OmemoManager omemoManager, org.whispersystems.libsignal.state.PreKeyBundle contactsBundle, OmemoDevice contactsDevice) -
Uses of CorruptedOmemoKeyException in org.jivesoftware.smackx.omemo.util
Modifier and TypeMethodDescriptionvoid
OmemoMessageBuilder.addRecipient
(OmemoDevice contactsDevice) Add a new recipient device to the message.abstract T_Bundle
OmemoKeyUtil.bundleFromOmemoBundle
(OmemoBundleElement bundle, OmemoDevice contact, int keyId) Build a crypto-lib specific PreKeyBundle (T_Bundle) using a PreKey from the OmemoBundleElement 'bundle'.OmemoKeyUtil.Bundle.bundles
(OmemoBundleElement bundle, OmemoDevice contact) Break up the OmemoBundleElement into a list of crypto-lib specific bundles (T_PreKey).abstract T_ECPub
OmemoKeyUtil.ellipticCurvePublicKeyFromBytes
(byte[] data) Deserialize an elliptic curve public key from bytes.abstract T_SigPreKey
OmemoKeyUtil.generateOmemoSignedPreKey
(T_IdKeyPair identityKeyPair, int signedPreKeyId) Generate a new signed preKey.OmemoKeyUtil.Bundle.identityKey
(OmemoBundleElement bundle) Extract an IdentityKey from a OmemoBundleElement.abstract T_IdKey
OmemoKeyUtil.identityKeyFromBytes
(byte[] data) Deserialize an identityKey from a byte array.abstract T_IdKeyPair
OmemoKeyUtil.identityKeyPairFromBytes
(byte[] data) Deserialize an identityKeyPair from a byte array.OmemoKeyUtil.Bundle.preKeyPublic
(OmemoBundleElement bundle, int keyId) Extract the preKey with id 'keyId' from the bundle.OmemoKeyUtil.preKeyPublicFromBytes
(byte[] data) Deserialize a public preKey from bytes.OmemoKeyUtil.Bundle.signedPreKeyPublic
(OmemoBundleElement bundle) Extract a signedPreKey from an OmemoBundleElement.OmemoKeyUtil.signedPreKeyPublicFromBytes
(byte[] data) Deserialize a public signedPreKey from bytes.