Package gnu.java.zrtp
Class ZrtpConstants
- java.lang.Object
-
- gnu.java.zrtp.ZrtpConstants
-
public class ZrtpConstants extends Object
- Author:
- Werner Dittmann <Werner.Dittmann@t-online.de>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classZrtpConstants.SupportedAuthAlgosstatic classZrtpConstants.SupportedAuthLengthsstatic classZrtpConstants.SupportedHashesstatic classZrtpConstants.SupportedPubKeysstatic classZrtpConstants.SupportedSASTypesstatic classZrtpConstants.SupportedSymAlgosstatic classZrtpConstants.SupportedSymCiphers
-
Field Summary
Fields Modifier and Type Field Description static StringAES_128static StringAES_256static byte[]aes1static byte[]aes3static byte[]b256static byte[]b32static byte[]b32estatic StringclientIdstatic byte[]CommitMsgstatic byte[]Conf2AckMsgstatic byte[]Confirm1Msgstatic byte[]Confirm2Msgstatic byte[]dh2kstatic byte[]dh3kstatic byte[]DHPart1Msgstatic byte[]DHPart2Msgstatic byte[]e255static byte[]ec25static byte[]ec38static byte[]ErrorAckMsgstatic byte[]ErrorMsgstatic byte[]HelloAckMsgstatic byte[]HelloMsgThe message names as defined in ZRTP specification.static byte[]hs32static byte[]hs80static byte[]iniHmacKeystatic byte[]iniMasterKeystatic byte[]iniMasterSaltstatic byte[]initiatorstatic byte[]iniZrtpKeystatic byte[]KDFStringstatic intMAX_DIGEST_LENGTHstatic byte[]multstatic BigIntegerP2048static BigIntegerP2048MinusOnestatic BigIntegerP3072static BigIntegerP3072MinusOnestatic byte[]PingAckMsgstatic byte[]PingMsgstatic byte[]RelayAckMsgstatic byte[]respHmacKeystatic byte[]respMasterKeystatic byte[]respMasterSaltstatic byte[]responderVarious strings used to build the keys, hashes and HMACsstatic byte[]respZrtpKeystatic byte[]retainedSecstatic byte[]s256The names of the algorithms as defined in ZRTP specificationstatic byte[]s384static String[]sas256WordsEvenstatic String[]sas256WordsOddstatic byte[]SASRelayMsgstatic byte[]sasStringstatic intSHA256_DIGEST_LENGTHstatic byte[]sk32static byte[]sk64static org.bouncycastle.crypto.params.DHParametersspecDh2kstatic org.bouncycastle.crypto.params.DHParametersspecDh3kstatic BigIntegertwostatic StringTWO_128static StringTWO_256static byte[]two1static byte[]two3static org.bouncycastle.asn1.x9.X9ECParametersx9Ec25static org.bouncycastle.asn1.x9.X9ECParametersx9Ec38static byte[]zrtpMskstatic byte[]zrtpSessionKeystatic byte[]zrtpTrustedMitmstatic byte[]zrtpVersion_11static byte[]zrtpVersion_12
-
Constructor Summary
Constructors Constructor Description ZrtpConstants()
-
-
-
Field Detail
-
SHA256_DIGEST_LENGTH
public static final int SHA256_DIGEST_LENGTH
- See Also:
- Constant Field Values
-
MAX_DIGEST_LENGTH
public static final int MAX_DIGEST_LENGTH
- See Also:
- Constant Field Values
-
clientId
public static final String clientId
- See Also:
- Constant Field Values
-
zrtpVersion_11
public static final byte[] zrtpVersion_11
-
zrtpVersion_12
public static final byte[] zrtpVersion_12
-
AES_128
public static final String AES_128
- See Also:
- Constant Field Values
-
AES_256
public static final String AES_256
- See Also:
- Constant Field Values
-
TWO_128
public static final String TWO_128
- See Also:
- Constant Field Values
-
TWO_256
public static final String TWO_256
- See Also:
- Constant Field Values
-
HelloMsg
public static final byte[] HelloMsg
The message names as defined in ZRTP specification.
-
HelloAckMsg
public static final byte[] HelloAckMsg
-
CommitMsg
public static final byte[] CommitMsg
-
DHPart1Msg
public static final byte[] DHPart1Msg
-
DHPart2Msg
public static final byte[] DHPart2Msg
-
Confirm1Msg
public static final byte[] Confirm1Msg
-
Confirm2Msg
public static final byte[] Confirm2Msg
-
Conf2AckMsg
public static final byte[] Conf2AckMsg
-
ErrorMsg
public static final byte[] ErrorMsg
-
ErrorAckMsg
public static final byte[] ErrorAckMsg
-
PingMsg
public static final byte[] PingMsg
-
PingAckMsg
public static final byte[] PingAckMsg
-
SASRelayMsg
public static final byte[] SASRelayMsg
-
RelayAckMsg
public static final byte[] RelayAckMsg
-
responder
public static final byte[] responder
Various strings used to build the keys, hashes and HMACs
-
initiator
public static final byte[] initiator
-
iniMasterKey
public static final byte[] iniMasterKey
-
iniMasterSalt
public static final byte[] iniMasterSalt
-
respMasterKey
public static final byte[] respMasterKey
-
respMasterSalt
public static final byte[] respMasterSalt
-
iniHmacKey
public static final byte[] iniHmacKey
-
respHmacKey
public static final byte[] respHmacKey
-
retainedSec
public static final byte[] retainedSec
-
iniZrtpKey
public static final byte[] iniZrtpKey
-
respZrtpKey
public static final byte[] respZrtpKey
-
sasString
public static final byte[] sasString
-
KDFString
public static final byte[] KDFString
-
zrtpSessionKey
public static final byte[] zrtpSessionKey
-
zrtpMsk
public static final byte[] zrtpMsk
-
zrtpTrustedMitm
public static final byte[] zrtpTrustedMitm
-
s256
public static final byte[] s256
The names of the algorithms as defined in ZRTP specification
-
s384
public static final byte[] s384
-
aes3
public static final byte[] aes3
-
aes1
public static final byte[] aes1
-
two1
public static final byte[] two1
-
two3
public static final byte[] two3
-
dh3k
public static final byte[] dh3k
-
dh2k
public static final byte[] dh2k
-
mult
public static final byte[] mult
-
b32
public static final byte[] b32
-
b256
public static final byte[] b256
-
b32e
public static final byte[] b32e
-
hs32
public static final byte[] hs32
-
hs80
public static final byte[] hs80
-
sk32
public static final byte[] sk32
-
sk64
public static final byte[] sk64
-
ec25
public static final byte[] ec25
-
ec38
public static final byte[] ec38
-
e255
public static final byte[] e255
-
x9Ec25
public static final org.bouncycastle.asn1.x9.X9ECParameters x9Ec25
-
x9Ec38
public static final org.bouncycastle.asn1.x9.X9ECParameters x9Ec38
-
P2048
public static final BigInteger P2048
-
P3072
public static final BigInteger P3072
-
two
public static final BigInteger two
-
P2048MinusOne
public static final BigInteger P2048MinusOne
-
P3072MinusOne
public static final BigInteger P3072MinusOne
-
specDh2k
public static final org.bouncycastle.crypto.params.DHParameters specDh2k
-
specDh3k
public static final org.bouncycastle.crypto.params.DHParameters specDh3k
-
sas256WordsOdd
public static final String[] sas256WordsOdd
-
sas256WordsEven
public static final String[] sas256WordsEven
-
-