Module jpms_dss_ws_timestamp_remote
Class RemoteTimestampService
java.lang.Object
eu.europa.esig.dss.ws.timestamp.remote.RemoteTimestampService
The remote service representing a timestamping service
-
Constructor Summary
ConstructorsConstructorDescriptionDefault construction instantiating object with null TSPSource -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.ws.timestamp.dto.TimestampResponseDTOgetTimestampResponse(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, byte[] value) Timestamps thevaluevoidsetTSPSource(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Sets the TSP Source
-
Constructor Details
-
RemoteTimestampService
public RemoteTimestampService()Default construction instantiating object with null TSPSource
-
-
Method Details
-
setTSPSource
public void setTSPSource(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource) Sets the TSP Source- Parameters:
tspSource-TSPSource
-
getTimestampResponse
public eu.europa.esig.dss.ws.timestamp.dto.TimestampResponseDTO getTimestampResponse(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm, byte[] value) Timestamps thevalue- Parameters:
digestAlgorithm-DigestAlgorithmused to compute thevaluevalue- the computed digest value- Returns:
TimestampResponseDTO
-