Class AbstractMultiValuesCheckItem<T extends XmlConstraintsConclusion>

java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem<T>
Type Parameters:
T - XmlConstraintsConclusion
Direct Known Subclasses:
AcceptableMimetypeFileContentCheck, AcceptableZipCommentCheck, CertificatePolicyIdsCheck, CertificateQCStatementIdsCheck, CertifiedRolesCheck, ClaimedRolesCheck, CommonNameCheck, ContainerTypeCheck, CountryCheck, ExtendedKeyUsageCheck, FormatCheck, GivenNameCheck, KeyUsageCheck, OrganizationNameCheck, OrganizationUnitCheck, PseudonymCheck, SignaturePolicyIdentifierCheck, SurnameCheck, TrustedServiceStatusCheck, TrustedServiceTypeIdentifierCheck

public abstract class AbstractMultiValuesCheckItem<T extends XmlConstraintsConclusion>
extends ChainItem<T>
Abstract class to check if the given value is one of the allowed values by ValidationPolicy
  • Constructor Details

  • Method Details

    • processValueCheck

      protected boolean processValueCheck​(String value)
      Checks the value
      Parameters:
      value - String to check
      Returns:
      TRUE if the value is allowed by the constraint, FALSE otherwise
    • processValuesCheck

      protected boolean processValuesCheck​(List<String> values)
      Checks the values
      Parameters:
      values - String to check
      Returns:
      TRUE if the values are allowed by the constraint, FALSE otherwise