use of org.demoiselle.signer.timestamp.connector.TimeStampOperator in project signer by demoiselle.
the class TimestampGeneratorImpl method generateTimeStamp.
/**
* Sends the time stamp request to a time stamp server
*
* @return The time stamp returned by the server
*/
@Override
public byte[] generateTimeStamp() throws CertificateCoreException {
TimeStampOperator timeStampOperator = new TimeStampOperator();
byte[] request = timeStampOperator.createRequest(privateKey, certificates, content, hash);
return timeStampOperator.invoke(request);
}
Aggregations