Class XAdESBaselineRequirementsChecker

java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
eu.europa.esig.dss.xades.validation.XAdESBaselineRequirementsChecker

public class XAdESBaselineRequirementsChecker extends eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
Performs checks according to EN 319 132-1 v1.1.1 "6.3 Requirements on XAdES signature's elements, qualifying properties and services"
  • Field Summary

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

    offlineCertificateVerifier, signature
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    Checks if the signature has a corresponding XAdES-A profile
    boolean
    Checks if the signature has a corresponding XAdES-BES profile
    boolean
    Checks if the signature has a corresponding XAdES-C profile
    boolean
    Checks if the signature has a corresponding XAdES-EPES profile
    boolean
    Checks if the signature has a corresponding XAdES-T profile
    boolean
    Checks if the signature has a corresponding XAdES-XL profile
    boolean
    Checks if the signature has a corresponding XAdES-X profile

    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

    • XAdESBaselineRequirementsChecker

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

    • hasBaselineBProfile

      public boolean hasBaselineBProfile()
      Specified by:
      hasBaselineBProfile in class eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
    • hasBaselineTProfile

      public boolean hasBaselineTProfile()
      Specified by:
      hasBaselineTProfile in class eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
    • hasBaselineLTProfile

      public boolean hasBaselineLTProfile()
      Specified by:
      hasBaselineLTProfile in class eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
    • hasBaselineLTAProfile

      public boolean hasBaselineLTAProfile()
      Specified by:
      hasBaselineLTAProfile in class eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
    • hasExtendedBESProfile

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

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

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

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

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

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

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