Package net.jsign.pe
Enum CertificateType
- java.lang.Object
-
- java.lang.Enum<CertificateType>
-
- net.jsign.pe.CertificateType
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateType>
public enum CertificateType extends Enum<CertificateType>
Type of a WIN_CERTIFICATE structure.- Since:
- 1.3
- Author:
- Emmanuel Bourg
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PKCS_SIGNED_DATARESERVED_1ReservedTS_STACK_SIGNEDTerminal Server Protocol Stack Certificate (not supported)X509X.509 Certificate (not supported)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetValue()static CertificateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X509
public static final CertificateType X509
X.509 Certificate (not supported)
-
PKCS_SIGNED_DATA
public static final CertificateType PKCS_SIGNED_DATA
-
RESERVED_1
public static final CertificateType RESERVED_1
Reserved
-
TS_STACK_SIGNED
public static final CertificateType TS_STACK_SIGNED
Terminal Server Protocol Stack Certificate (not supported)
-
-
Method Detail
-
values
public static 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 (CertificateType c : 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 CertificateType 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
-
getValue
public short getValue()
-
-