Class PAdESBaselineRequirementsChecker

java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<eu.europa.esig.dss.cades.validation.CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
eu.europa.esig.dss.pades.validation.PAdESBaselineRequirementsChecker

public class PAdESBaselineRequirementsChecker extends eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
Performs checks according to EN 319 142-1 v1.1.1 "6.3 PAdES baseline signatures"
  • Field Summary

    Fields inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker

    offlineCertificateVerifier, signature
  • Constructor Summary

    Constructors
    Constructor
    Description
    PAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected eu.europa.esig.dss.enumerations.SignatureForm
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    protected boolean
    Verifies a presence of LT-profile for a PDF signature
    boolean
    Checks if the signature has PKCS#7-LTA profile
    boolean
    Checks if the signature has PKCS#7-LT profile
    boolean
    Checks if the signature has PKCS#7 profile (according to ISO 32000-1)
    boolean
    Checks if the signature has PKCS#7-T profile

    Methods inherited from class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker

    hasExtendedAProfile, hasExtendedBESProfile, hasExtendedCProfile, hasExtendedEPESProfile, hasExtendedTProfile, hasExtendedXLProfile, hasExtendedXProfile

    Methods inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker

    containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PAdESBaselineRequirementsChecker

      public PAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier)
      Default constructor
      Parameters:
      signature - PAdESSignature
      offlineCertificateVerifier - CertificateVerifier
  • Method Details

    • getBaselineSignatureForm

      protected eu.europa.esig.dss.enumerations.SignatureForm getBaselineSignatureForm()
      Overrides:
      getBaselineSignatureForm in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • hasBaselineBProfile

      public boolean hasBaselineBProfile()
      Overrides:
      hasBaselineBProfile in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • cmsBaselineBRequirements

      protected boolean cmsBaselineBRequirements()
      Overrides:
      cmsBaselineBRequirements in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • hasBaselineTProfile

      public boolean hasBaselineTProfile()
      Overrides:
      hasBaselineTProfile in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • hasBaselineLTProfile

      public boolean hasBaselineLTProfile()
      Overrides:
      hasBaselineLTProfile in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • hasLTProfile

      protected boolean hasLTProfile()
      Verifies a presence of LT-profile for a PDF signature
      Returns:
      TRUE if the LT-profile is present, FALSE otherwise
    • hasBaselineLTAProfile

      public boolean hasBaselineLTAProfile()
      Overrides:
      hasBaselineLTAProfile in class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
    • hasPKCS7Profile

      public boolean hasPKCS7Profile()
      Checks if the signature has PKCS#7 profile (according to ISO 32000-1)
      Returns:
      TRUE if the signature has a PKCS#7 profile, FALSE otherwise
    • hasPKCS7TProfile

      public boolean hasPKCS7TProfile()
      Checks if the signature has PKCS#7-T profile
      Returns:
      TRUE if the signature has a PKCS#7-T profile, FALSE otherwise
    • hasPKCS7LTProfile

      public boolean hasPKCS7LTProfile()
      Checks if the signature has PKCS#7-LT profile
      Returns:
      TRUE if the signature has a PKCS#7-LT profile, FALSE otherwise
    • hasPKCS7LTAProfile

      public boolean hasPKCS7LTAProfile()
      Checks if the signature has PKCS#7-LTA profile
      Returns:
      TRUE if the signature has a PKCS#7-LTA profile, FALSE otherwise