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