Class CAdESLevelBaselineLT

Direct Known Subclasses:
CAdESLevelBaselineLTA

public class CAdESLevelBaselineLT extends CAdESLevelBaselineT
This class holds the CAdES-LT signature profiles
  • Constructor Details

    • CAdESLevelBaselineLT

      public CAdESLevelBaselineLT(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, eu.europa.esig.dss.spi.validation.CertificateVerifier certificateVerifier)
      The default constructor.
      Parameters:
      tspSource - TSPSource for a timestamp creation
      certificateVerifier - CertificateVerifier
  • Method Details

    • extendCMSSignatures

      protected eu.europa.esig.dss.cms.CMS extendCMSSignatures(eu.europa.esig.dss.cms.CMS cms, CAdESSignatureParameters parameters, List<String> signatureIdsToExtend)
      Description copied from class: CAdESSignatureExtension
      This method extends the signatures in the cmsSignedData with ids listed within signatureIdsToExtend
      Overrides:
      extendCMSSignatures in class CAdESLevelBaselineT
      Parameters:
      cms - CMS containing the signatures to be extended
      parameters - CAdESSignatureParameters
      signatureIdsToExtend - a list of String signature Ids to be extended
      Returns:
      CMS
    • includesATSv2

      protected boolean includesATSv2(eu.europa.esig.dss.cms.CMS cms)
      Verifies if the CMS contains an ATSTv2
      Parameters:
      cms - CMS to check
      Returns:
      TRUE if the cms contains an ATSTv2, FALSE otherwise
    • getExtendToLTLevelSignatures

      protected List<eu.europa.esig.dss.spi.signature.AdvancedSignature> getExtendToLTLevelSignatures(List<eu.europa.esig.dss.spi.signature.AdvancedSignature> signatures, List<String> signatureIdsToExtend)
      Returns a list of signatures to be extended according to th list of signatureIdsToExtend
      Parameters:
      signatures - a list of AdvancedSignatures
      signatureIdsToExtend - a list of String signature identifiers to be extended
      Returns:
      a list of AdvancedSignatures