Class JAdESBaselineRequirementsChecker

java.lang.Object
eu.europa.esig.dss.jades.validation.JAdESBaselineRequirementsChecker

public class JAdESBaselineRequirementsChecker extends Object
Performs checks according to EN 119 182-1 v1.1.1 "6.3 Requirements on JAdES components and services"
  • Field Details

    • signature

      protected final JAdESSignature signature
    • offlineCertificateVerifier

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

    • JAdESBaselineRequirementsChecker

      public JAdESBaselineRequirementsChecker(JAdESSignature signature, eu.europa.esig.dss.spi.validation.CertificateVerifier offlineCertificateVerifier)
      Default constructor
      Parameters:
      signature - JAdESSignature to validate
      offlineCertificateVerifier - CertificateVerifier offline copy of a used CertificateVerifier
  • Method Details

    • hasBaselineBProfile

      public boolean hasBaselineBProfile()
    • hasBaselineTProfile

      public boolean hasBaselineTProfile()
    • hasBaselineLTProfile

      public boolean hasBaselineLTProfile()
    • containsLTLevelCertificates

      protected boolean containsLTLevelCertificates()
    • hasBaselineLTAProfile

      public boolean hasBaselineLTAProfile()
    • hasExtendedBESProfile

      public boolean hasExtendedBESProfile()
    • 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()