Package gnu.java.zrtp
Enum ZrtpConstants.SupportedAuthLengths
- java.lang.Object
-
- java.lang.Enum<ZrtpConstants.SupportedAuthLengths>
-
- gnu.java.zrtp.ZrtpConstants.SupportedAuthLengths
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpConstants.SupportedAuthLengths>
- Enclosing class:
- ZrtpConstants
public static enum ZrtpConstants.SupportedAuthLengths extends Enum<ZrtpConstants.SupportedAuthLengths>
-
-
Field Summary
Fields Modifier and Type Field Description ZrtpConstants.SupportedAuthAlgosalgointlengthbyte[]name
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpConstants.SupportedAuthLengthsvalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpConstants.SupportedAuthLengths[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SK32
public static final ZrtpConstants.SupportedAuthLengths SK32
-
HS32
public static final ZrtpConstants.SupportedAuthLengths HS32
-
SK64
public static final ZrtpConstants.SupportedAuthLengths SK64
-
HS80
public static final ZrtpConstants.SupportedAuthLengths HS80
-
-
Field Detail
-
name
public final byte[] name
-
algo
public final ZrtpConstants.SupportedAuthAlgos algo
-
length
public final int length
-
-
Method Detail
-
values
public static ZrtpConstants.SupportedAuthLengths[] 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 (ZrtpConstants.SupportedAuthLengths c : ZrtpConstants.SupportedAuthLengths.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZrtpConstants.SupportedAuthLengths valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-