Enum LpaDecoding.XmlField
java.lang.Object
java.lang.Enum<LpaDecoding.XmlField>
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.lpa.decoder.LpaDecoding.XmlField
- All Implemented Interfaces:
Serializable
,Comparable<LpaDecoding.XmlField>
,Constable
- Enclosing class:
- LpaDecoding
public static enum LpaDecoding.XmlField extends Enum<LpaDecoding.XmlField>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHM
DIGEST_METHOD
DIGEST_VALUE
FIELD_OF_APPLICATION
NEXT_UPDATE
NOT_AFTER
NOT_BEFORE
POLICY_DIGEST
POLICY_DIGEST_AND_URI
POLICY_INFO
POLICY_NAME
POLICY_OID
POLICY_URI
REVOCATION_DATE
SIGNING_PERIOD
VERSION
-
Field Summary
Fields Modifier and Type Field Description static String
V2_LOCAL_NAME_PREFIX
-
Method Summary
Modifier and Type Method Description String
toString()
String
toString(int version)
Função auxiliar para obter o nome do campo no XML, que varia segundo a versão da LPA, já que as LPAs disponibilizadas não possuem um namespace padrão para busca.static LpaDecoding.XmlField
valueOf(String name)
Returns the enum constant of this type with the specified name.static LpaDecoding.XmlField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEXT_UPDATE
-
POLICY_INFO
-
SIGNING_PERIOD
-
NOT_AFTER
-
NOT_BEFORE
-
REVOCATION_DATE
-
POLICY_OID
-
POLICY_DIGEST_AND_URI
-
POLICY_URI
-
POLICY_DIGEST
-
DIGEST_METHOD
-
DIGEST_VALUE
-
ALGORITHM
-
FIELD_OF_APPLICATION
-
POLICY_NAME
-
VERSION
-
-
Field Details
-
V2_LOCAL_NAME_PREFIX
- See Also:
- Constant Field Values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toString
in classEnum<LpaDecoding.XmlField>
-
toString
Função auxiliar para obter o nome do campo no XML, que varia segundo a versão da LPA, já que as LPAs disponibilizadas não possuem um namespace padrão para busca. Apesar da versão 2.0 especificar o uso de namespaces.
-