Package org.jivesoftware.smackx.omemo
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
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 interfaceorg.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 interfaceorg.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
-