Class SignalOmemoRatchet
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.OmemoRatchet<org.whispersystems.libsignal.IdentityKeyPair,org.whispersystems.libsignal.IdentityKey,org.whispersystems.libsignal.state.PreKeyRecord,org.whispersystems.libsignal.state.SignedPreKeyRecord,org.whispersystems.libsignal.state.SessionRecord,org.whispersystems.libsignal.SignalProtocolAddress,org.whispersystems.libsignal.ecc.ECPublicKey,org.whispersystems.libsignal.state.PreKeyBundle,org.whispersystems.libsignal.SessionCipher>
-
- org.jivesoftware.smackx.omemo.signal.SignalOmemoRatchet
-
public class SignalOmemoRatchet extends org.jivesoftware.smackx.omemo.OmemoRatchet<org.whispersystems.libsignal.IdentityKeyPair,org.whispersystems.libsignal.IdentityKey,org.whispersystems.libsignal.state.PreKeyRecord,org.whispersystems.libsignal.state.SignedPreKeyRecord,org.whispersystems.libsignal.state.SessionRecord,org.whispersystems.libsignal.SignalProtocolAddress,org.whispersystems.libsignal.ecc.ECPublicKey,org.whispersystems.libsignal.state.PreKeyBundle,org.whispersystems.libsignal.SessionCipher>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]doubleRatchetDecrypt(org.jivesoftware.smackx.omemo.internal.OmemoDevice sender, byte[] encryptedKey)org.jivesoftware.smackx.omemo.internal.CiphertextTupledoubleRatchetEncrypt(org.jivesoftware.smackx.omemo.internal.OmemoDevice recipient, byte[] messageKey)
-
-
-
Method Detail
-
doubleRatchetDecrypt
public byte[] doubleRatchetDecrypt(org.jivesoftware.smackx.omemo.internal.OmemoDevice sender, byte[] encryptedKey) throws org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyException, org.jivesoftware.smackx.omemo.exceptions.NoRawSessionException, org.jivesoftware.smackx.omemo.exceptions.CryptoFailedException, org.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityException, java.io.IOException- Specified by:
doubleRatchetDecryptin classorg.jivesoftware.smackx.omemo.OmemoRatchet<org.whispersystems.libsignal.IdentityKeyPair,org.whispersystems.libsignal.IdentityKey,org.whispersystems.libsignal.state.PreKeyRecord,org.whispersystems.libsignal.state.SignedPreKeyRecord,org.whispersystems.libsignal.state.SessionRecord,org.whispersystems.libsignal.SignalProtocolAddress,org.whispersystems.libsignal.ecc.ECPublicKey,org.whispersystems.libsignal.state.PreKeyBundle,org.whispersystems.libsignal.SessionCipher>- Throws:
org.jivesoftware.smackx.omemo.exceptions.CorruptedOmemoKeyExceptionorg.jivesoftware.smackx.omemo.exceptions.NoRawSessionExceptionorg.jivesoftware.smackx.omemo.exceptions.CryptoFailedExceptionorg.jivesoftware.smackx.omemo.exceptions.UntrustedOmemoIdentityExceptionjava.io.IOException
-
doubleRatchetEncrypt
public org.jivesoftware.smackx.omemo.internal.CiphertextTuple doubleRatchetEncrypt(org.jivesoftware.smackx.omemo.internal.OmemoDevice recipient, byte[] messageKey)- Specified by:
doubleRatchetEncryptin classorg.jivesoftware.smackx.omemo.OmemoRatchet<org.whispersystems.libsignal.IdentityKeyPair,org.whispersystems.libsignal.IdentityKey,org.whispersystems.libsignal.state.PreKeyRecord,org.whispersystems.libsignal.state.SignedPreKeyRecord,org.whispersystems.libsignal.state.SessionRecord,org.whispersystems.libsignal.SignalProtocolAddress,org.whispersystems.libsignal.ecc.ECPublicKey,org.whispersystems.libsignal.state.PreKeyBundle,org.whispersystems.libsignal.SessionCipher>
-
-