Class CAdESTimestampDataBuilder
java.lang.Object
eu.europa.esig.dss.cades.validation.timestamp.CAdESTimestampDataBuilder
- All Implemented Interfaces:
TimestampDataBuilder
Builds timestamped data binaries for a CAdES signature
-
Constructor Summary
ConstructorsConstructorDescriptionCAdESTimestampDataBuilder(CAdESSignature signature, eu.europa.esig.dss.spi.x509.ListCertificateSource certificateSource) The default constructor -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentgetArchiveTimestampData(TimestampToken timestampToken) eu.europa.esig.dss.model.DSSDocumentgetContentTimestampData(TimestampToken timestampToken) eu.europa.esig.dss.model.DSSDocumentgetSignatureTimestampData(TimestampToken timestampToken) eu.europa.esig.dss.model.DSSDocumentgetTimestampX1Data(TimestampToken timestampToken) protected byte[]This method computes a message-imprint for escTimeStampeu.europa.esig.dss.model.DSSDocumentgetTimestampX2Data(TimestampToken timestampToken) protected byte[]This method computes a message-imprint for certCRLTimestamp
-
Constructor Details
-
CAdESTimestampDataBuilder
public CAdESTimestampDataBuilder(CAdESSignature signature, eu.europa.esig.dss.spi.x509.ListCertificateSource certificateSource) The default constructor- Parameters:
signature-CAdESSignaturecontaining timestampscertificateSource-ListCertificateSourcemerged certificate source of the signature
-
-
Method Details
-
getContentTimestampData
- Specified by:
getContentTimestampDatain interfaceTimestampDataBuilder
-
getSignatureTimestampData
public eu.europa.esig.dss.model.DSSDocument getSignatureTimestampData(TimestampToken timestampToken) - Specified by:
getSignatureTimestampDatain interfaceTimestampDataBuilder
-
getTimestampX1Data
- Specified by:
getTimestampX1Datain interfaceTimestampDataBuilder
-
getTimestampX1DataBytes
protected byte[] getTimestampX1DataBytes()This method computes a message-imprint for escTimeStamp- Returns:
- message-imprint octets
-
getTimestampX2Data
- Specified by:
getTimestampX2Datain interfaceTimestampDataBuilder
-
getTimestampX2DataBytes
protected byte[] getTimestampX2DataBytes()This method computes a message-imprint for certCRLTimestamp- Returns:
- message-imprint octets
-
getArchiveTimestampData
public eu.europa.esig.dss.model.DSSDocument getArchiveTimestampData(TimestampToken timestampToken) throws eu.europa.esig.dss.model.DSSException - Specified by:
getArchiveTimestampDatain interfaceTimestampDataBuilder- Throws:
eu.europa.esig.dss.model.DSSException
-