Class JAdESLevelBaselineT
java.lang.Object
eu.europa.esig.dss.jades.signature.JAdESExtensionBuilder
eu.europa.esig.dss.jades.signature.JAdESLevelBaselineT
- All Implemented Interfaces:
SignatureExtension<JAdESSignatureParameters>
- Direct Known Subclasses:
JAdESLevelBaselineLT
public class JAdESLevelBaselineT extends JAdESExtensionBuilder implements SignatureExtension<JAdESSignatureParameters>
Creates a T-level of a JAdES signature
-
Field Summary
Fields Modifier and Type Field Description protected CertificateVerifier
certificateVerifier
The CertificateVerifier to useprotected TSPSource
tspSource
The object encapsulating the Time Stamp Protocol needed to create the level -T, of the signature -
Constructor Summary
Constructors Constructor Description JAdESLevelBaselineT(CertificateVerifier certificateVerifier)
The default constructor -
Method Summary
Modifier and Type Method Description protected void
extendSignature(JAdESSignature jadesSignature, JAdESSignatureParameters params)
Extends the signatureDSSDocument
extendSignatures(DSSDocument document, JAdESSignatureParameters params)
Extends the level of the signatures contained in a document.void
setTspSource(TSPSource tspSource)
Sets the TSP source to be used when extending the digital signatureMethods inherited from class eu.europa.esig.dss.jades.signature.JAdESExtensionBuilder
assertEtsiUComponentsConsistent, assertIsJSONSerializationType, toJWSJsonSerializationObjectToExtend
-
Field Details
-
certificateVerifier
The CertificateVerifier to use -
tspSource
The object encapsulating the Time Stamp Protocol needed to create the level -T, of the signature
-
-
Constructor Details
-
JAdESLevelBaselineT
The default constructor- Parameters:
certificateVerifier
-CertificateVerifier
to use
-
-
Method Details
-
setTspSource
Sets the TSP source to be used when extending the digital signature- Parameters:
tspSource
- the tspSource to set
-
extendSignatures
Description copied from interface:SignatureExtension
Extends the level of the signatures contained in a document.- Specified by:
extendSignatures
in interfaceSignatureExtension<JAdESSignatureParameters>
- Parameters:
document
- The signed document to be signedparams
- the parameters for the extension- Returns:
- the extended document
-
extendSignature
Extends the signature- Parameters:
jadesSignature
-JAdESSignature
to be extendedparams
-JAdESSignatureParameters
the extension parameters
-