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 newSignTypeValidationContext
based 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 newSignTypeValidationContext
based 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:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-