Class EphemeralTrustCallback

  • All Implemented Interfaces:
    org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback

    public class EphemeralTrustCallback
    extends java.lang.Object
    implements org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
    Ephemera Trust Callback used to make trust decisions in tests.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jivesoftware.smackx.omemo.trust.TrustState getTrust​(org.jivesoftware.smackx.omemo.internal.OmemoDevice device, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint)  
      void setTrust​(org.jivesoftware.smackx.omemo.internal.OmemoDevice device, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint, org.jivesoftware.smackx.omemo.trust.TrustState state)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EphemeralTrustCallback

        public EphemeralTrustCallback()
    • Method Detail

      • getTrust

        public org.jivesoftware.smackx.omemo.trust.TrustState getTrust​(org.jivesoftware.smackx.omemo.internal.OmemoDevice device,
                                                                       org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint)
        Specified by:
        getTrust in interface org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
      • setTrust

        public void setTrust​(org.jivesoftware.smackx.omemo.internal.OmemoDevice device,
                             org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint,
                             org.jivesoftware.smackx.omemo.trust.TrustState state)
        Specified by:
        setTrust in interface org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback