Class CAdESLevelBaselineLTA
java.lang.Object
eu.europa.esig.dss.cades.signature.CAdESSignatureExtension
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineT
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineLT
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineLTA
- All Implemented Interfaces:
SignatureExtension<CAdESSignatureParameters>
This class holds the CAdES-A signature profiles; it supports the later, over time _extension_ of a signature with
id-aa-ets-archiveTimestampV2 attributes as defined in ETSI TS 101 733 V1.8.1, clause 6.4.1.
"If the certificate-values and revocation-values attributes are not present in the CAdES-BES or CAdES-EPES, then they
shall be added to the electronic signature prior to computing the archive time-stamp token." is the reason we extend
from the XL profile.
-
Field Summary
Fields inherited from class CAdESSignatureExtension
certificateVerifier, resourcesHandlerBuilder, tspSource -
Constructor Summary
ConstructorsConstructorDescriptionCAdESLevelBaselineLTA(TSPSource tspSource, CertificateVerifier certificateVerifier) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected CMSextendCMSSignatures(CMS cms, CAdESSignatureParameters parameters, List<String> signatureIdsToExtend) This method extends the signatures in thecmsSignedDatawith ids listed withinsignatureIdsToExtendMethods inherited from class CAdESLevelBaselineLT
getExtendToLTLevelSignatures, includesATSv2Methods inherited from class CAdESLevelBaselineT
getSignatureRequirementsChecker
-
Constructor Details
-
CAdESLevelBaselineLTA
The default constructor- Parameters:
tspSource-TSPSourceto request a timestampcertificateVerifier-CertificateVerifier
-
-
Method Details
-
extendCMSSignatures
protected CMS extendCMSSignatures(CMS cms, CAdESSignatureParameters parameters, List<String> signatureIdsToExtend) Description copied from class:CAdESSignatureExtensionThis method extends the signatures in thecmsSignedDatawith ids listed withinsignatureIdsToExtend- Overrides:
extendCMSSignaturesin classCAdESLevelBaselineLT- Parameters:
cms-CMScontaining the signatures to be extendedparameters-CAdESSignatureParameterssignatureIdsToExtend- a list ofStringsignature Ids to be extended- Returns:
CMS
-