Class CAdESBaselineRequirementsChecker

java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
Direct Known Subclasses:
CMSForPAdESBaselineRequirementsChecker, PAdESBaselineRequirementsChecker

public class CAdESBaselineRequirementsChecker extends BaselineRequirementsChecker<CAdESSignature>
Performs checks according to EN 319 122-1 v1.1.1 "6.3 Requirements on components and services"
  • Constructor Details

    • CAdESBaselineRequirementsChecker

      protected CAdESBaselineRequirementsChecker(CAdESSignature signature)
      Constructor is used to verify conformance of signature to Baseline-B level
      Parameters:
      signature - CAdESSignature
    • CAdESBaselineRequirementsChecker

      public CAdESBaselineRequirementsChecker(CAdESSignature signature, CertificateVerifier offlineCertificateVerifier)
      Default constructor
      Parameters:
      signature - CAdESSignature
      offlineCertificateVerifier - CertificateVerifier
  • Method Details

    • getBaselineSignatureForm

      protected SignatureForm getBaselineSignatureForm()
      Returns the signature form corresponding to the signature
      Returns:
      SignatureForm
    • cmsBaselineBRequirements

      protected boolean cmsBaselineBRequirements()
      Checks if BASELINE-B requirements satisfy for a CMS signature
      Returns:
      TRUE if the CMS signature meet the BASELINE-B requirements, FALSE otherwise
    • hasBaselineBProfile

      public boolean hasBaselineBProfile()
      Description copied from class: BaselineRequirementsChecker
      Checks if the signature has a corresponding BASELINE-B profile
      Specified by:
      hasBaselineBProfile in class BaselineRequirementsChecker<CAdESSignature>
      Returns:
      TRUE if the signature has a BASELINE-B profile, FALSE otherwise
    • hasBaselineTProfile

      public boolean hasBaselineTProfile()
      Description copied from class: BaselineRequirementsChecker
      Checks if the signature has a corresponding BASELINE-T profile
      Specified by:
      hasBaselineTProfile in class BaselineRequirementsChecker<CAdESSignature>
      Returns:
      TRUE if the signature has a BASELINE-T profile, FALSE otherwise
    • hasBaselineLTProfile

      public boolean hasBaselineLTProfile()
      Description copied from class: BaselineRequirementsChecker
      Checks if the signature has a corresponding BASELINE-LT profile
      Specified by:
      hasBaselineLTProfile in class BaselineRequirementsChecker<CAdESSignature>
      Returns:
      TRUE if the signature has a BASELINE-LT profile, FALSE otherwise
    • hasBaselineLTAProfile

      public boolean hasBaselineLTAProfile()
      Description copied from class: BaselineRequirementsChecker
      Checks if the signature has a corresponding BASELINE-LTA profile
      Specified by:
      hasBaselineLTAProfile in class BaselineRequirementsChecker<CAdESSignature>
      Returns:
      TRUE if the signature has a BASELINE-LTA profile, FALSE otherwise
    • hasExtendedBESProfile

      public boolean hasExtendedBESProfile()
      Checks if the signature has a corresponding CAdES-BES profile
      Returns:
      TRUE if the signature has a CAdES-BES profile, FALSE otherwise
    • hasExtendedEPESProfile

      public boolean hasExtendedEPESProfile()
      Checks if the signature has a corresponding CAdES-EPES profile
      Returns:
      TRUE if the signature has a CAdES-EPES profile, FALSE otherwise
    • hasExtendedTProfile

      public boolean hasExtendedTProfile()
      Checks if the signature has a corresponding CAdES-T profile
      Returns:
      TRUE if the signature has a CAdES-T profile, FALSE otherwise
    • hasExtendedCProfile

      public boolean hasExtendedCProfile()
      Checks if the signature has a corresponding CAdES-C profile
      Returns:
      TRUE if the signature has a CAdES-C profile, FALSE otherwise
    • hasExtendedXProfile

      public boolean hasExtendedXProfile()
      Checks if the signature has a corresponding CAdES-X profile
      Returns:
      TRUE if the signature has a CAdES-X profile, FALSE otherwise
    • hasExtendedXLProfile

      public boolean hasExtendedXLProfile()
      Checks if the signature has a corresponding CAdES-XL profile
      Returns:
      TRUE if the signature has a CAdES-XL profile, FALSE otherwise
    • hasExtendedAProfile

      public boolean hasExtendedAProfile()
      Checks if the signature has a corresponding CAdES-A profile
      Returns:
      TRUE if the signature has a CAdES-A profile, FALSE otherwise