org.apache.wss4j.policy.model
Enum X509Token.TokenType

java.lang.Object
  extended by java.lang.Enum<X509Token.TokenType>
      extended by org.apache.wss4j.policy.model.X509Token.TokenType
All Implemented Interfaces:
Serializable, Comparable<X509Token.TokenType>
Enclosing class:
X509Token

public static enum X509Token.TokenType
extends Enum<X509Token.TokenType>


Enum Constant Summary
WssX509Pkcs7Token10
           
WssX509Pkcs7Token11
           
WssX509PkiPathV1Token10
           
WssX509PkiPathV1Token11
           
WssX509V1Token11
           
WssX509V3Token10
           
WssX509V3Token11
           
 
Method Summary
static X509Token.TokenType lookUp(String name)
           
static X509Token.TokenType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static X509Token.TokenType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WssX509V3Token10

public static final X509Token.TokenType WssX509V3Token10

WssX509Pkcs7Token10

public static final X509Token.TokenType WssX509Pkcs7Token10

WssX509PkiPathV1Token10

public static final X509Token.TokenType WssX509PkiPathV1Token10

WssX509V1Token11

public static final X509Token.TokenType WssX509V1Token11

WssX509V3Token11

public static final X509Token.TokenType WssX509V3Token11

WssX509Pkcs7Token11

public static final X509Token.TokenType WssX509Pkcs7Token11

WssX509PkiPathV1Token11

public static final X509Token.TokenType WssX509PkiPathV1Token11
Method Detail

values

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

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

valueOf

public static X509Token.TokenType 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
NullPointerException - if the argument is null

lookUp

public static X509Token.TokenType lookUp(String name)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.