Package | Description |
---|---|
org.jivesoftware.smackx.omemo |
Classes and interfaces for OMEMO Encryption.
|
org.jivesoftware.smackx.omemo.exceptions |
Exceptions.
|
org.jivesoftware.smackx.omemo.internal |
Classes that are used internally to arrange objects.
|
org.jivesoftware.smackx.omemo.util |
Helper classes and other stuff.
|
Modifier and Type | Method and Description |
---|---|
OmemoVAxolotlElement |
OmemoManager.createKeyTransportElement(byte[] aesKey,
byte[] iv,
OmemoDevice... to)
Create a new KeyTransportElement.
|
ClearTextMessage |
OmemoManager.decrypt(BareJid sender,
Message omemoMessage)
Decrypt an OMEMO message.
|
Message |
OmemoManager.encrypt(ArrayList<BareJid> recipients,
String message)
OMEMO encrypt a cleartext message for multiple recipients.
|
Message |
OmemoManager.encrypt(BareJid to,
String message)
OMEMO encrypt a cleartext message for a single recipient.
|
Message |
OmemoManager.encrypt(MultiUserChat muc,
String message)
Encrypt a message for all recipients in the MultiUserChat.
|
Message |
OmemoManager.encryptForExistingSessions(CannotEstablishOmemoSessionException exception,
String message)
Encrypt a message for all users we could build a session with successfully in a previous attempt.
|
protected Message |
OmemoService.getOmemoRatchetUpdateMessage(OmemoManager omemoManager,
OmemoDevice recipient,
boolean preKeyMessage)
Return a new RatchetUpdateMessage.
|
protected void |
OmemoService.sendOmemoRatchetUpdateMessage(OmemoManager omemoManager,
OmemoDevice recipient,
boolean preKeyMessage)
Send an OmemoRatchetUpdateMessage to recipient.
|
void |
OmemoManager.sendRatchetUpdateMessage(OmemoDevice recipient)
Send a ratchet update message.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleCryptoFailedException |
Modifier and Type | Method and Description |
---|---|
List<CryptoFailedException> |
MultipleCryptoFailedException.getCryptoFailedExceptions() |
Modifier and Type | Method and Description |
---|---|
static MultipleCryptoFailedException |
MultipleCryptoFailedException.from(List<CryptoFailedException> cryptoFailedExceptions) |
Modifier and Type | Method and Description |
---|---|
static Message |
OmemoSession.decryptMessageElement(OmemoElement element,
CipherAndAuthTag cipherAndAuthTag)
Use the symmetric key in cipherAndAuthTag to decrypt the payload of the omemoMessage.
|
Message |
OmemoSession.decryptMessageElement(OmemoElement element,
int keyId)
Try to decrypt the message.
|
abstract byte[] |
OmemoSession.decryptMessageKey(byte[] encryptedKey)
Decrypt a messageKey using our sessionCipher.
|
CipherAndAuthTag |
OmemoSession.decryptTransportedKey(OmemoElement element,
int keyId)
Try to decrypt the transported message key using the double ratchet session.
|
abstract CiphertextTuple |
OmemoSession.encryptMessageKey(byte[] messageKey)
Encrypt a message key for the recipient.
|
Cipher |
CipherAndAuthTag.getCipher() |
Constructor and Description |
---|
CipherAndAuthTag(byte[] key,
byte[] iv,
byte[] authTag) |
Modifier and Type | Method and Description |
---|---|
void |
OmemoMessageBuilder.addRecipient(OmemoDevice device)
Add a new recipient device to the message.
|
void |
OmemoMessageBuilder.addRecipient(OmemoDevice device,
boolean ignoreTrust)
Add a new recipient device to the message.
|