Package | Description |
---|---|
org.jivesoftware.smackx.omemo |
Classes and interfaces for OMEMO Encryption.
|
org.jivesoftware.smackx.omemo.exceptions |
Exceptions.
|
org.jivesoftware.smackx.omemo.signal |
Concrete implementation of OMEMO for smack using the signal-protocol-java library.
|
org.jivesoftware.smackx.omemo.trust |
Callbacks used to pass trust decisions up to the client.
|
org.jivesoftware.smackx.omemo.util |
Helper classes and other stuff.
|
Modifier and Type | Method and Description |
---|---|
OmemoFingerprint |
OmemoStore.getFingerprint(OmemoDevice userDevice)
Return our identityKeys fingerprint.
|
OmemoFingerprint |
OmemoManager.getFingerprint(OmemoDevice device)
Get the fingerprint of a contacts device.
|
OmemoFingerprint |
OmemoStore.getFingerprint(OmemoDevice userDevice,
OmemoDevice contactsDevice)
Return the fingerprint of the identityKey belonging to contactsDevice.
|
OmemoFingerprint |
OmemoStore.getFingerprintAndMaybeBuildSession(OmemoManager.LoggedInOmemoManager managerGuard,
OmemoDevice contactsDevice)
Return the fingerprint of the given devices announced identityKey.
|
OmemoFingerprint |
OmemoManager.getOwnFingerprint()
Return the fingerprint of our identity key.
|
OmemoFingerprint |
OmemoMessage.Received.getSendersFingerprint()
Return the fingerprint of the messages sender device.
|
Modifier and Type | Method and Description |
---|---|
HashMap<OmemoDevice,OmemoFingerprint> |
OmemoManager.getActiveFingerprints(BareJid contact)
Return all OmemoFingerprints of active devices of a contact.
|
Modifier and Type | Method and Description |
---|---|
void |
OmemoManager.distrustOmemoIdentity(OmemoDevice device,
OmemoFingerprint fingerprint)
Distrust the fingerprint/OmemoDevice tuple.
|
boolean |
OmemoManager.isDecidedOmemoIdentity(OmemoDevice device,
OmemoFingerprint fingerprint)
Returns true, if the fingerprint/OmemoDevice tuple is decided by the user.
|
boolean |
OmemoManager.isTrustedOmemoIdentity(OmemoDevice device,
OmemoFingerprint fingerprint)
Returns true, if the fingerprint/OmemoDevice tuple is trusted, otherwise false.
|
void |
OmemoManager.trustOmemoIdentity(OmemoDevice device,
OmemoFingerprint fingerprint)
Trust that a fingerprint belongs to an OmemoDevice.
|
Modifier and Type | Method and Description |
---|---|
OmemoFingerprint |
UntrustedOmemoIdentityException.getTrustedFingerprint()
Return the fingerprint of the key we expected.
|
OmemoFingerprint |
UntrustedOmemoIdentityException.getUntrustedFingerprint()
Return the fingerprint of the unexpected untrusted key.
|
Constructor and Description |
---|
UntrustedOmemoIdentityException(OmemoDevice device,
OmemoFingerprint untrustedKey)
Constructor for when encryption fails because the user untrusted a recipients device.
|
UntrustedOmemoIdentityException(OmemoDevice device,
OmemoFingerprint fpTrusted,
OmemoFingerprint fpUntrusted)
Constructor for when we receive a message with an identityKey different from the one we trusted.
|
Modifier and Type | Method and Description |
---|---|
OmemoFingerprint |
SignalOmemoKeyUtil.getFingerprintOfIdentityKey(org.whispersystems.libsignal.IdentityKey identityKey) |
OmemoFingerprint |
SignalOmemoKeyUtil.getFingerprintOfIdentityKeyPair(org.whispersystems.libsignal.IdentityKeyPair identityKeyPair) |
Modifier and Type | Method and Description |
---|---|
TrustState |
OmemoTrustCallback.getTrust(OmemoDevice device,
OmemoFingerprint fingerprint) |
void |
OmemoTrustCallback.setTrust(OmemoDevice device,
OmemoFingerprint fingerprint,
TrustState state) |
Modifier and Type | Method and Description |
---|---|
abstract OmemoFingerprint |
OmemoKeyUtil.getFingerprintOfIdentityKey(T_IdKey identityKey)
Return the fingerprint of an identityKey.
|
abstract OmemoFingerprint |
OmemoKeyUtil.getFingerprintOfIdentityKeyPair(T_IdKeyPair identityKeyPair)
Returns the fingerprint of the public key of an identityKeyPair.
|