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 ALGORITHMDIGEST_METHODDIGEST_VALUEFIELD_OF_APPLICATIONNEXT_UPDATENOT_AFTERNOT_BEFOREPOLICY_DIGESTPOLICY_DIGEST_AND_URIPOLICY_INFOPOLICY_NAMEPOLICY_OIDPOLICY_URIREVOCATION_DATESIGNING_PERIODVERSION -
Field Summary
Fields Modifier and Type Field Description static StringV2_LOCAL_NAME_PREFIX -
Method Summary
Modifier and Type Method Description StringtoString()StringtoString(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.XmlFieldvalueOf(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:
toStringin 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.
-