Package eu.europa.esig.dss.enumerations
Enum SignatureScopeType
- java.lang.Object
-
- java.lang.Enum<SignatureScopeType>
-
- eu.europa.esig.dss.enumerations.SignatureScopeType
-
- All Implemented Interfaces:
Serializable,Comparable<SignatureScopeType>
public enum SignatureScopeType extends Enum<SignatureScopeType>
Defines the used SignatureScope types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVEDThe signature covers its bounded archiveCOUNTER_SIGNATUREThe signature counter signs its master signatureDIGESTThe signature covers only the digest of documentFULLThe signature covers the complete documentPARTIALThe signature covers only a part of the document
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SignatureScopeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SignatureScopeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final SignatureScopeType FULL
The signature covers the complete document
-
PARTIAL
public static final SignatureScopeType PARTIAL
The signature covers only a part of the document
-
DIGEST
public static final SignatureScopeType DIGEST
The signature covers only the digest of document
-
ARCHIVED
public static final SignatureScopeType ARCHIVED
The signature covers its bounded archive
-
COUNTER_SIGNATURE
public static final SignatureScopeType COUNTER_SIGNATURE
The signature counter signs its master signature
-
-
Method Detail
-
values
public static SignatureScopeType[] 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 (SignatureScopeType c : SignatureScopeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureScopeType 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
-
-