public class RFC3161TSAServiceInvoker
extends java.lang.Object
Class that manages the generation of timestamps via TS@ RFC 3161 service (TCP, HTTPS and SSL).
Project:Time Stamping Authority.
| Constructor and Description |
|---|
RFC3161TSAServiceInvoker()
Constructor method for the class RFC3161TSAServiceInvoker.java.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateTimeStampToken(java.lang.String protocol,
java.lang.String applicationParam,
byte[] dataParam)
Method that invokes the RFC 3161 timestamp generation service from TS@.
|
byte[] |
generateTimeStampToken(java.lang.String protocol,
java.lang.String applicationParam,
byte[] dataParam,
java.lang.String idClient)
Method that invokes the RFC 3161 timestamp generation service from TS@.
|
public RFC3161TSAServiceInvoker()
public final byte[] generateTimeStampToken(java.lang.String protocol,
java.lang.String applicationParam,
byte[] dataParam,
java.lang.String idClient)
throws TSAServiceInvokerException
protocol - Parameter that represents the protocol used to communicate with the RFC 3161 service. The allowed values are:
TSAServiceInvokerConstants.RFC3161Protocol#TCPTSAServiceInvokerConstants.RFC3161Protocol#HTTPSTSAServiceInvokerConstants.RFC3161Protocol#SSLapplicationParam - Parameter that represents the name of the application which invokes the service.dataParam - Parameter that represents the data to stamp.idClient - Parameter that represents the client application identifier.TSAServiceInvokerException - If the method fails.public final byte[] generateTimeStampToken(java.lang.String protocol,
java.lang.String applicationParam,
byte[] dataParam)
throws TSAServiceInvokerException
protocol - Parameter that represents the protocol used to communicate with the RFC 3161 service. The allowed values are:
TSAServiceInvokerConstants.RFC3161Protocol#TCPTSAServiceInvokerConstants.RFC3161Protocol#HTTPSTSAServiceInvokerConstants.RFC3161Protocol#SSLapplicationParam - Parameter that represents the name of the application which invokes the service.dataParam - Parameter that represents the data to stamp.TSAServiceInvokerException - If the method fails.