edu.internet2.middleware.shibboleth.common.relyingparty.provider
Enum CryptoOperationRequirementLevel

java.lang.Object
  extended by java.lang.Enum<CryptoOperationRequirementLevel>
      extended by edu.internet2.middleware.shibboleth.common.relyingparty.provider.CryptoOperationRequirementLevel
All Implemented Interfaces:
Serializable, Comparable<CryptoOperationRequirementLevel>

public enum CryptoOperationRequirementLevel
extends Enum<CryptoOperationRequirementLevel>

Indicates the requirement level for crypto operations like signing and encryption.


Enum Constant Summary
always
          Indicates that the operation must always be performed.
conditional
          Indicates that the operation should only be performed if the binding/transport does not provide equivalent protection.
never
          Indicates the operation should never be performed.
 
Method Summary
static CryptoOperationRequirementLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CryptoOperationRequirementLevel[] 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

always

public static final CryptoOperationRequirementLevel always
Indicates that the operation must always be performed.


conditional

public static final CryptoOperationRequirementLevel conditional
Indicates that the operation should only be performed if the binding/transport does not provide equivalent protection.


never

public static final CryptoOperationRequirementLevel never
Indicates the operation should never be performed.

Method Detail

values

public static final CryptoOperationRequirementLevel[] 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(CryptoOperationRequirementLevel c : CryptoOperationRequirementLevel.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CryptoOperationRequirementLevel 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


Copyright © 2006-2008 Internet2. All Rights Reserved.