Apache CXF API

org.apache.cxf.ws.security.wss4j
Enum CryptoCoverageUtil.CoverageType

java.lang.Object
  extended by java.lang.Enum<CryptoCoverageUtil.CoverageType>
      extended by 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.


Enum Constant Summary
ENCRYPTED
          Checks for encryption of the matching elements.
SIGNED
          Checks for a signature over the matching elements.
 
Method Summary
static CryptoCoverageUtil.CoverageType valueOf(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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 final CryptoCoverageUtil.CoverageType[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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 name

Apache CXF API

Apache CXF