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 java.lang.Object implements org.jivesoftware.smackx.omemo.trust.OmemoTrustCallbackEphemera Trust Callback used to make trust decisions in tests.
-
-
Constructor Summary
Constructors Constructor Description EphemeralTrustCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jivesoftware.smackx.omemo.trust.TrustStategetTrust(org.jivesoftware.smackx.omemo.internal.OmemoDevice device, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint)voidsetTrust(org.jivesoftware.smackx.omemo.internal.OmemoDevice device, org.jivesoftware.smackx.omemo.trust.OmemoFingerprint fingerprint, org.jivesoftware.smackx.omemo.trust.TrustState state)
-
-
-
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:
getTrustin 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:
setTrustin interfaceorg.jivesoftware.smackx.omemo.trust.OmemoTrustCallback
-
-