Package net.sf.michaelo.tomcat.pac
Enum PacSignatureData.SignatureType
- java.lang.Object
-
- java.lang.Enum<PacSignatureData.SignatureType>
-
- net.sf.michaelo.tomcat.pac.PacSignatureData.SignatureType
-
- All Implemented Interfaces:
Serializable,Comparable<PacSignatureData.SignatureType>
- Enclosing class:
- PacSignatureData
public static enum PacSignatureData.SignatureType extends Enum<PacSignatureData.SignatureType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HMAC_MD5HMAC_SHA1_96_AES128HMAC_SHA1_96_AES256
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEType()intgetSize()intgetValue()static PacSignatureData.SignatureTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PacSignatureData.SignatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HMAC_MD5
public static final PacSignatureData.SignatureType HMAC_MD5
-
HMAC_SHA1_96_AES128
public static final PacSignatureData.SignatureType HMAC_SHA1_96_AES128
-
HMAC_SHA1_96_AES256
public static final PacSignatureData.SignatureType HMAC_SHA1_96_AES256
-
-
Method Detail
-
values
public static PacSignatureData.SignatureType[] 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 (PacSignatureData.SignatureType c : PacSignatureData.SignatureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PacSignatureData.SignatureType 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
-
getValue
public int getValue()
-
getSize
public int getSize()
-
getEType
public int getEType()
-
-