Package org.globus.gsi
Enum GSIConstants.CertificateType
- java.lang.Object
-
- java.lang.Enum<GSIConstants.CertificateType>
-
- org.globus.gsi.GSIConstants.CertificateType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GSIConstants.CertificateType>
- Enclosing interface:
- GSIConstants
public static enum GSIConstants.CertificateType extends java.lang.Enum<GSIConstants.CertificateType>
Enumeration of Certificate types used by the Globus security provider.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private int
code
-
Constructor Summary
Constructors Modifier Constructor Description private
CertificateType(int c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GSIConstants.CertificateType
get(int code)
int
getCode()
static GSIConstants.CertificateType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GSIConstants.CertificateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EEC
public static final GSIConstants.CertificateType EEC
-
CA
public static final GSIConstants.CertificateType CA
-
GSI_2_PROXY
public static final GSIConstants.CertificateType GSI_2_PROXY
-
GSI_2_LIMITED_PROXY
public static final GSIConstants.CertificateType GSI_2_LIMITED_PROXY
-
GSI_3_RESTRICTED_PROXY
public static final GSIConstants.CertificateType GSI_3_RESTRICTED_PROXY
-
GSI_3_INDEPENDENT_PROXY
public static final GSIConstants.CertificateType GSI_3_INDEPENDENT_PROXY
-
GSI_3_IMPERSONATION_PROXY
public static final GSIConstants.CertificateType GSI_3_IMPERSONATION_PROXY
-
GSI_3_LIMITED_PROXY
public static final GSIConstants.CertificateType GSI_3_LIMITED_PROXY
-
GSI_4_RESTRICTED_PROXY
public static final GSIConstants.CertificateType GSI_4_RESTRICTED_PROXY
-
GSI_4_INDEPENDENT_PROXY
public static final GSIConstants.CertificateType GSI_4_INDEPENDENT_PROXY
-
GSI_4_IMPERSONATION_PROXY
public static final GSIConstants.CertificateType GSI_4_IMPERSONATION_PROXY
-
GSI_4_LIMITED_PROXY
public static final GSIConstants.CertificateType GSI_4_LIMITED_PROXY
-
UNDEFINED
public static final GSIConstants.CertificateType UNDEFINED
-
-
Method Detail
-
values
public static GSIConstants.CertificateType[] 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 (GSIConstants.CertificateType c : GSIConstants.CertificateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GSIConstants.CertificateType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
public int getCode()
-
get
public static GSIConstants.CertificateType get(int code)
-
-