Class SignalCachingOmemoStore
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.OmemoStore<T_IdKeyPair,T_IdKey,T_PreKey,T_SigPreKey,T_Sess,T_Addr,T_ECPub,T_Bundle,T_Ciph>
-
- org.jivesoftware.smackx.omemo.CachingOmemoStore<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.SignalCachingOmemoStore
-
public class SignalCachingOmemoStore extends CachingOmemoStore<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>
Implementation of the CachingOmemoStore for smack-omemo-signal. This Store implementation can either be used as a proxy wrapping a persistent SignalOmemoStore in order to prevent excessive storage access, or it can be used standalone as an ephemeral store, which doesn't persist its contents.
-
-
Constructor Summary
Constructors Constructor Description SignalCachingOmemoStore()
Create a new SignalCachingOmemoStore as an ephemeral standalone OmemoStore.SignalCachingOmemoStore(OmemoStore<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> wrappedStore)
Create a new SignalCachingOmemoStore as a caching layer around a persisting OmemoStore (eg.
-
Method Summary
-
Methods inherited from class org.jivesoftware.smackx.omemo.CachingOmemoStore
containsRawSession, getDateOfLastDeviceIdPublication, getDateOfLastReceivedMessage, getDateOfLastSignedPreKeyRenewal, keyUtil, loadAllRawSessionsOf, loadCachedDeviceList, loadOmemoIdentityKey, loadOmemoIdentityKeyPair, loadOmemoMessageCounter, loadOmemoPreKey, loadOmemoPreKeys, loadOmemoSignedPreKey, loadOmemoSignedPreKeys, loadRawSession, localDeviceIdsOf, purgeOwnDeviceKeys, removeAllRawSessionsOf, removeOmemoIdentityKey, removeOmemoIdentityKeyPair, removeOmemoPreKey, removeOmemoSignedPreKey, removeRawSession, setDateOfLastDeviceIdPublication, setDateOfLastReceivedMessage, setDateOfLastSignedPreKeyRenewal, storeCachedDeviceList, storeOmemoIdentityKey, storeOmemoIdentityKeyPair, storeOmemoMessageCounter, storeOmemoPreKey, storeOmemoSignedPreKey, storeRawSession
-
Methods inherited from class org.jivesoftware.smackx.omemo.OmemoStore
generateOmemoIdentityKeyPair, generateOmemoPreKeys, generateOmemoSignedPreKey, getFingerprint, getFingerprint, getFingerprintAndMaybeBuildSession, loadCachedDeviceList, loadCurrentOmemoSignedPreKeyId, replenishKeys, storeOmemoPreKeys
-
-
-
-
Constructor Detail
-
SignalCachingOmemoStore
public SignalCachingOmemoStore(OmemoStore<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> wrappedStore)
Create a new SignalCachingOmemoStore as a caching layer around a persisting OmemoStore (eg. a SignalFileBasedOmemoStore).- Parameters:
wrappedStore
- other store implementation that gets wrapped
-
SignalCachingOmemoStore
public SignalCachingOmemoStore()
Create a new SignalCachingOmemoStore as an ephemeral standalone OmemoStore.
-
-