Package org.apache.wss4j.policy.model
Enum X509Token.TokenType
- java.lang.Object
-
- java.lang.Enum<X509Token.TokenType>
-
- 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
Enum Constants Enum Constant Description WssX509Pkcs7Token10
WssX509Pkcs7Token11
WssX509PkiPathV1Token10
WssX509PkiPathV1Token11
WssX509V1Token10
WssX509V1Token11
WssX509V3Token10
WssX509V3Token11
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
WssX509V1Token10
public static final X509Token.TokenType WssX509V1Token10
-
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 nameNullPointerException
- if the argument is null
-
lookUp
public static X509Token.TokenType lookUp(String name)
-
-