Package org.apache.cxf.ws.security.wss4j
Enum CryptoCoverageUtil.CoverageType
- java.lang.Object
-
- java.lang.Enum<CryptoCoverageUtil.CoverageType>
-
- org.apache.cxf.ws.security.wss4j.CryptoCoverageUtil.CoverageType
-
- All Implemented Interfaces:
Serializable,Comparable<CryptoCoverageUtil.CoverageType>
- Enclosing class:
- CryptoCoverageUtil
public static enum CryptoCoverageUtil.CoverageType extends Enum<CryptoCoverageUtil.CoverageType>
Differentiates which type of cryptographic coverage to check for.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CryptoCoverageUtil.CoverageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CryptoCoverageUtil.CoverageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCRYPTED
public static final CryptoCoverageUtil.CoverageType ENCRYPTED
Checks for encryption of the matching elements.
-
SIGNED
public static final CryptoCoverageUtil.CoverageType SIGNED
Checks for a signature over the matching elements.
-
-
Method Detail
-
values
public static CryptoCoverageUtil.CoverageType[] 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 (CryptoCoverageUtil.CoverageType c : CryptoCoverageUtil.CoverageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CryptoCoverageUtil.CoverageType 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
-
-