Class SignTypeValidationContext

java.lang.Object
com.itextpdf.kernel.validation.context.SignTypeValidationContext
All Implemented Interfaces:
IValidationContext

public class SignTypeValidationContext extends Object implements IValidationContext
Class for sign type validation context.
  • Field Details

    • isCAdES

      private final boolean isCAdES
  • Constructor Details

    • SignTypeValidationContext

      public SignTypeValidationContext(boolean isCAdES)
      Instantiates a new SignTypeValidationContext 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

      public ValidationType getType()
      Description copied from interface: IValidationContext
      Gets type of the context.
      Specified by:
      getType in interface IValidationContext
      Returns:
      the type