Class SignTypeValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.SignTypeValidationContext
- All Implemented Interfaces:
IValidationContext
Class for sign type validation context.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSignTypeValidationContext(boolean isCAdES) Instantiates a newSignTypeValidationContextbased on whether sign is CAdeS or not. -
Method Summary
-
Field Details
-
isCAdES
private final boolean isCAdES
-
-
Constructor Details
-
SignTypeValidationContext
public SignTypeValidationContext(boolean isCAdES) Instantiates a newSignTypeValidationContextbased on whether sign is CAdeS or not.- Parameters:
isCAdES- whether sign is CAdeS or not
-
-
Method Details
-
isCAdES
public boolean isCAdES()Whether sign is CAdeS or not.- Returns:
- whether sign is CAdeS or not
-
getType
Description copied from interface:IValidationContextGets type of the context.- Specified by:
getTypein interfaceIValidationContext- Returns:
- the type
-