Class OmemoConstants
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.util.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 classOmemoConstants.CryptoInformation about the keys used for message encryption.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBODY_OMEMO_HINTstatic java.lang.StringOMEMOstatic java.lang.StringOMEMO_NAMESPACE_V_AXOLOTLOmemo related namespace.static java.lang.StringPEP_NODE_BUNDLESstatic java.lang.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 java.lang.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 java.lang.String OMEMO_NAMESPACE_V_AXOLOTL
Omemo related namespace.- See Also:
- Constant Field Values
-
OMEMO
public static final java.lang.String OMEMO
- 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
-
BODY_OMEMO_HINT
public static final java.lang.String BODY_OMEMO_HINT
- 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
-
-