Class OmemoConstants
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.util.OmemoConstants
-
public final class OmemoConstants extends Object
Some constants related to OMEMO.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOmemoConstants.CryptoInformation about the keys used for message encryption.
-
Field Summary
Fields Modifier and Type Field Description static StringBODY_OMEMO_HINTstatic StringOMEMOstatic StringOMEMO_NAMESPACE_V_AXOLOTLOmemo related namespace.static StringPEP_NODE_BUNDLESstatic StringPEP_NODE_DEVICE_LISTstatic intPRE_KEY_COUNT_PER_BUNDLEHow many preKeys do we want to publish?
-
Constructor Summary
Constructors Constructor Description OmemoConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringPEP_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.
-
-
-
Field Detail
-
OMEMO_NAMESPACE_V_AXOLOTL
public static final String OMEMO_NAMESPACE_V_AXOLOTL
Omemo related namespace.- See Also:
- Constant Field Values
-
OMEMO
public static final String OMEMO
- See Also:
- Constant Field Values
-
PEP_NODE_DEVICE_LIST
public static final String PEP_NODE_DEVICE_LIST
- See Also:
- Constant Field Values
-
PEP_NODE_BUNDLES
public static final 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
-
BODY_OMEMO_HINT
public static final String BODY_OMEMO_HINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OmemoConstants
public OmemoConstants()
-
-
Method Detail
-
PEP_NODE_BUNDLE_FROM_DEVICE_ID
public static 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
-
-