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 Details

    • 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

      Create a new SignalCachingOmemoStore as an ephemeral standalone OmemoStore.