public enum ZRTPHashAlgorithm extends java.lang.Enum<ZRTPHashAlgorithm>
Enum Constant and Description |
---|
n256
N256 (SHA-3 256) NOT SUPPORTED YET
|
n384
N384 (SHA-3 384) NOT SUPPORTED YET
|
s256
S256 (SHA-256)
|
s384
S384 (SHA-384)
|
Modifier and Type | Method and Description |
---|---|
static ZRTPHashAlgorithm |
fromInt(int i) |
static ZRTPHashAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZRTPHashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZRTPHashAlgorithm s256
public static final ZRTPHashAlgorithm s384
public static final ZRTPHashAlgorithm n256
public static final ZRTPHashAlgorithm n384
public static ZRTPHashAlgorithm[] values()
for (ZRTPHashAlgorithm c : ZRTPHashAlgorithm.values()) System.out.println(c);
public static ZRTPHashAlgorithm 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 ZRTPHashAlgorithm fromInt(int i)