Class CMSForPAdESBaselineRequirementsChecker

java.lang.Object
eu.europa.esig.dss.pades.validation.CMSForPAdESBaselineRequirementsChecker

public class CMSForPAdESBaselineRequirementsChecker extends Object
This class is used to verify conformance of a CMSSignedData to be incorporated to a PDF as a PAdES signature
  • Field Details

    • signature

      protected final eu.europa.esig.dss.cades.validation.CAdESSignature signature
    • offlineCertificateVerifier

      protected final eu.europa.esig.dss.spi.validation.CertificateVerifier offlineCertificateVerifier
  • Constructor Details

    • CMSForPAdESBaselineRequirementsChecker

      public CMSForPAdESBaselineRequirementsChecker(eu.europa.esig.dss.cades.validation.CAdESSignature signature)
      Default constructor used to verify CMS of CAdESSignature on conformance to PAdES Baseline-B format
      Parameters:
      signature - CAdESSignature to be verified
  • Method Details

    • isValidForPAdESBaselineBProfile

      public boolean isValidForPAdESBaselineBProfile()
      This method verifies validity of a CMS signature for enveloping within a PDF signature of PAdES-BASELINE format
      Returns:
      TRUE if the CMS signature is conformant to PAdES-BASELINE format, FALSE otherwise
    • getBaselineSignatureForm

      protected eu.europa.esig.dss.enumerations.SignatureForm getBaselineSignatureForm()
    • cmsBaselineBRequirements

      protected boolean cmsBaselineBRequirements()
    • hasBaselineBProfile

      public boolean hasBaselineBProfile()
    • hasBaselineTProfile

      public boolean hasBaselineTProfile()
    • hasBaselineLTProfile

      public boolean hasBaselineLTProfile()
    • containsLTLevelCertificates

      protected boolean containsLTLevelCertificates()
    • hasBaselineLTAProfile

      public boolean hasBaselineLTAProfile()
    • hasExtendedBESProfile

      public boolean hasExtendedBESProfile()
    • cmsExtendedBESRequirements

      protected boolean cmsExtendedBESRequirements()
    • hasExtendedEPESProfile

      public boolean hasExtendedEPESProfile()
    • hasExtendedTProfile

      public boolean hasExtendedTProfile()
    • hasExtendedCProfile

      public boolean hasExtendedCProfile()
    • hasExtendedXProfile

      public boolean hasExtendedXProfile()
    • hasExtendedXLProfile

      public boolean hasExtendedXLProfile()
    • hasExtendedAProfile

      public boolean hasExtendedAProfile()
    • hasExtendedERSProfile

      public boolean hasExtendedERSProfile()
    • signatureTimestampsCreatedBeforeSignCertExpiration

      protected boolean signatureTimestampsCreatedBeforeSignCertExpiration()
    • minimalTRequirement

      protected boolean minimalTRequirement()
    • minimalLTRequirement

      public boolean minimalLTRequirement()
    • getCertificateSourcesExceptLastArchiveTimestamp

      protected eu.europa.esig.dss.spi.x509.ListCertificateSource getCertificateSourcesExceptLastArchiveTimestamp()
    • getValidationContext

      protected eu.europa.esig.dss.spi.validation.ValidationContext getValidationContext()
    • minimalLTARequirement

      public boolean minimalLTARequirement()
    • containsSigningCertificate

      protected boolean containsSigningCertificate(Collection<eu.europa.esig.dss.model.x509.CertificateToken> arg0)
    • isSignaturePolicyIdentifierHashPresent

      protected boolean isSignaturePolicyIdentifierHashPresent()