Package eu.europa.esig.dss.enumerations
Enum RevocationRefOrigin
- java.lang.Object
-
- java.lang.Enum<RevocationRefOrigin>
-
- eu.europa.esig.dss.enumerations.RevocationRefOrigin
-
- All Implemented Interfaces:
Serializable,Comparable<RevocationRefOrigin>
public enum RevocationRefOrigin extends Enum<RevocationRefOrigin>
List of possible revocation reference origins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_REVOCATION_REFSThe revocation reference was found in the signature 'attribute-revocation-references' attribute (used in CAdES and XAdES)COMPLETE_REVOCATION_REFSThe revocation reference was found in the signature 'complete-revocation-references' attribute (used in CAdES and XAdES)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RevocationRefOriginvalueOf(String name)Returns the enum constant of this type with the specified name.static RevocationRefOrigin[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE_REVOCATION_REFS
public static final RevocationRefOrigin COMPLETE_REVOCATION_REFS
The revocation reference was found in the signature 'complete-revocation-references' attribute (used in CAdES and XAdES)
-
ATTRIBUTE_REVOCATION_REFS
public static final RevocationRefOrigin ATTRIBUTE_REVOCATION_REFS
The revocation reference was found in the signature 'attribute-revocation-references' attribute (used in CAdES and XAdES)
-
-
Method Detail
-
values
public static RevocationRefOrigin[] 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 (RevocationRefOrigin c : RevocationRefOrigin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RevocationRefOrigin 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
-
-