Class EphemeralTrustCallback

java.lang.Object
org.jivesoftware.smackx.omemo.EphemeralTrustCallback
All Implemented Interfaces:
org.jivesoftware.smackx.omemo.trust.OmemoTrustCallback

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 Details

    • EphemeralTrustCallback

      public EphemeralTrustCallback()
  • Method Details

    • 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