public enum CallSecurityLevel extends java.lang.Enum<CallSecurityLevel>
Enum Constant and Description |
---|
None
The call has no security at all (red)
|
SdesSrtp
The call is protected by SRTP which was configured by SDES and depends on the security level of the SIP/TLS channel (blue)
|
ZrtpSrtp
The call is protected by SRTP which was configured by ZRTP and confirmed by the user (green)
|
ZrtpUnconfirmed
ZRTP was used to establish an encrypted channel but we need to confirm the SAS (orange)
|
Modifier and Type | Method and Description |
---|---|
static CallSecurityLevel |
fromInt(int i) |
static CallSecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CallSecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallSecurityLevel None
public static final CallSecurityLevel ZrtpUnconfirmed
public static final CallSecurityLevel ZrtpSrtp
public static final CallSecurityLevel SdesSrtp
public static CallSecurityLevel[] values()
for (CallSecurityLevel c : CallSecurityLevel.values()) System.out.println(c);
public static CallSecurityLevel 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 CallSecurityLevel fromInt(int i)