Package com.avsystem.anjay
Enum AnjaySecurityObject.SmsSecurityMode
- java.lang.Object
-
- java.lang.Enum<AnjaySecurityObject.SmsSecurityMode>
-
- com.avsystem.anjay.AnjaySecurityObject.SmsSecurityMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnjaySecurityObject.SmsSecurityMode>
- Enclosing class:
- AnjaySecurityObject
public static enum AnjaySecurityObject.SmsSecurityMode extends java.lang.Enum<AnjaySecurityObject.SmsSecurityMode>
Possible values of the SMS Security Mode Resource, as described in the Security Object definition.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DTLS_PSKDTLS in PSK modeNOSECNoSec modeSECURE_PACKETSecure Packet Structure
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnjaySecurityObject.SmsSecurityModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AnjaySecurityObject.SmsSecurityMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DTLS_PSK
public static final AnjaySecurityObject.SmsSecurityMode DTLS_PSK
DTLS in PSK mode
-
SECURE_PACKET
public static final AnjaySecurityObject.SmsSecurityMode SECURE_PACKET
Secure Packet Structure
-
NOSEC
public static final AnjaySecurityObject.SmsSecurityMode NOSEC
NoSec mode
-
-
Method Detail
-
values
public static AnjaySecurityObject.SmsSecurityMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnjaySecurityObject.SmsSecurityMode c : AnjaySecurityObject.SmsSecurityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnjaySecurityObject.SmsSecurityMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-