Class OmemoConstants


  • public final class OmemoConstants
    extends java.lang.Object
    Some constants related to OMEMO.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OmemoConstants.Crypto
      Information about the keys used for message encryption.
    • Constructor Summary

      Constructors 
      Constructor Description
      OmemoConstants()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String PEP_NODE_BUNDLE_FROM_DEVICE_ID​(int deviceId)
      Return the node name of the PEP node containing the device bundle of the device with device id deviceId.
      • Methods inherited from class java.lang.Object

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

      • OMEMO_NAMESPACE_V_AXOLOTL

        public static final java.lang.String OMEMO_NAMESPACE_V_AXOLOTL
        Omemo related namespace.
        See Also:
        Constant Field Values
      • PEP_NODE_DEVICE_LIST

        public static final java.lang.String PEP_NODE_DEVICE_LIST
        See Also:
        Constant Field Values
      • PEP_NODE_BUNDLES

        public static final java.lang.String PEP_NODE_BUNDLES
        See Also:
        Constant Field Values
      • PRE_KEY_COUNT_PER_BUNDLE

        public static final int PRE_KEY_COUNT_PER_BUNDLE
        How many preKeys do we want to publish?
        See Also:
        Constant Field Values
    • Constructor Detail

      • OmemoConstants

        public OmemoConstants()
    • Method Detail

      • PEP_NODE_BUNDLE_FROM_DEVICE_ID

        public static java.lang.String PEP_NODE_BUNDLE_FROM_DEVICE_ID​(int deviceId)
        Return the node name of the PEP node containing the device bundle of the device with device id deviceId.
        Parameters:
        deviceId - id of the device
        Returns:
        node name of the devices bundle node