Class 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  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • isCAdES

        private final boolean isCAdES
    • Constructor Detail

      • 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 Detail

      • isCAdES

        public boolean isCAdES()
        Whether sign is CAdeS or not.
        Returns:
        whether sign is CAdeS or not