Class SignTypeValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.SignTypeValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class SignTypeValidationContext extends java.lang.Object implements IValidationContext
Class for sign type validation context.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isCAdES
-
Constructor Summary
Constructors Constructor Description SignTypeValidationContext(boolean isCAdES)
Instantiates a newSignTypeValidationContext
based on whether sign is CAdeS or not.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationType
getType()
Gets type of the context.boolean
isCAdES()
Whether sign is CAdeS or not.
-
-
-
Constructor Detail
-
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 Detail
-
isCAdES
public boolean isCAdES()
Whether sign is CAdeS or not.- Returns:
- whether sign is CAdeS or not
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-