Class JAdESLevelBaselineT
java.lang.Object
eu.europa.esig.dss.jades.signature.JAdESExtensionBuilder
eu.europa.esig.dss.jades.signature.JAdESLevelBaselineT
- All Implemented Interfaces:
JAdESLevelBaselineExtension
- Direct Known Subclasses:
JAdESLevelBaselineLT
public class JAdESLevelBaselineT
extends JAdESExtensionBuilder
implements JAdESLevelBaselineExtension
Creates a T-level of a JAdES signature
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.spi.validation.CertificateVerifierThe CertificateVerifier to useprotected AbstractJWSDocumentAnalyzerThe cached instance of a document validatorprotected eu.europa.esig.dss.spi.x509.tsp.TSPSourceThe object encapsulating the Time Stamp Protocol needed to create the level -T, of the signature -
Constructor Summary
ConstructorsConstructorDescriptionJAdESLevelBaselineT(eu.europa.esig.dss.spi.validation.CertificateVerifier certificateVerifier) The default constructor -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentextendSignatures(eu.europa.esig.dss.model.DSSDocument document, JAdESSignatureParameters params) protected voidextendSignatures(List<eu.europa.esig.dss.spi.signature.AdvancedSignature> signatures, JAdESSignatureParameters params) Extends the signaturesprotected eu.europa.esig.dss.signature.SignatureRequirementsCheckerInstantiates aSignatureRequirementsCheckervoidsetOperationKind(eu.europa.esig.dss.enumerations.SigningOperation signingOperation) Sets the signing operation NOTE: the internal variable, used in the signature creation/extension processvoidsetTspSource(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Sets the TSP source to be used when extending the digital signature
-
Field Details
-
certificateVerifier
protected final eu.europa.esig.dss.spi.validation.CertificateVerifier certificateVerifierThe CertificateVerifier to use -
tspSource
protected eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSourceThe object encapsulating the Time Stamp Protocol needed to create the level -T, of the signature -
documentValidator
The cached instance of a document validator
-
-
Constructor Details
-
JAdESLevelBaselineT
public JAdESLevelBaselineT(eu.europa.esig.dss.spi.validation.CertificateVerifier certificateVerifier) The default constructor- Parameters:
certificateVerifier-CertificateVerifierto use
-
-
Method Details
-
setTspSource
public void setTspSource(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Sets the TSP source to be used when extending the digital signature- Parameters:
tspSource- the tspSource to set
-
setOperationKind
public void setOperationKind(eu.europa.esig.dss.enumerations.SigningOperation signingOperation) Description copied from interface:JAdESLevelBaselineExtensionSets the signing operation NOTE: the internal variable, used in the signature creation/extension process- Specified by:
setOperationKindin interfaceJAdESLevelBaselineExtension- Parameters:
signingOperation-SigningOperation
-
extendSignatures
public eu.europa.esig.dss.model.DSSDocument extendSignatures(eu.europa.esig.dss.model.DSSDocument document, JAdESSignatureParameters params) -
extendSignatures
protected void extendSignatures(List<eu.europa.esig.dss.spi.signature.AdvancedSignature> signatures, JAdESSignatureParameters params) Extends the signatures- Parameters:
signatures- a list ofAdvancedSignatures to be extendedparams-JAdESSignatureParametersthe extension parameters
-
getSignatureRequirementsChecker
protected eu.europa.esig.dss.signature.SignatureRequirementsChecker getSignatureRequirementsChecker(JAdESSignatureParameters parameters) Instantiates aSignatureRequirementsChecker- Parameters:
parameters-JAdESSignatureParameters- Returns:
SignatureRequirementsChecker
-