public enum ZRTPCipherAlgorithm extends java.lang.Enum<ZRTPCipherAlgorithm>
Enum Constant and Description |
---|
cipher_2fs1
2FS1 (TwoFish-128) NOT SUPPORTED YET
|
cipher_2fs2
2FS2 (TwoFish-192) NOT SUPPORTED YET
|
cipher_2fs3
2FS3 (TwoFish-256) NOT SUPPORTED YET
|
cipher_aes1
AES1 (AES-128 in CFB mode with 128 bit feedback)
|
cipher_aes2
AES2 (AES-192 in CFB-128 mode)
|
cipher_aes3
AES3 (AES-256 in CFB-128 mode)
|
Modifier and Type | Method and Description |
---|---|
static ZRTPCipherAlgorithm |
fromInt(int i) |
static ZRTPCipherAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZRTPCipherAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZRTPCipherAlgorithm cipher_aes1
public static final ZRTPCipherAlgorithm cipher_aes2
public static final ZRTPCipherAlgorithm cipher_aes3
public static final ZRTPCipherAlgorithm cipher_2fs1
public static final ZRTPCipherAlgorithm cipher_2fs2
public static final ZRTPCipherAlgorithm cipher_2fs3
public static ZRTPCipherAlgorithm[] values()
for (ZRTPCipherAlgorithm c : ZRTPCipherAlgorithm.values()) System.out.println(c);
public static ZRTPCipherAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ZRTPCipherAlgorithm fromInt(int i)