public class HttpTimestamper extends java.lang.Object implements Timestamper
| Constructor and Description |
|---|
HttpTimestamper(java.lang.String tsaUrl)
Creates a timestamper that connects to the specified TSA.
|
| Modifier and Type | Method and Description |
|---|---|
TSResponse |
generateTimestamp(TSRequest tsQuery)
Connects to the TSA and requests a timestamp.
|
public HttpTimestamper(java.lang.String tsaUrl)
tsa - The location of the TSA. It must be an HTTP URL.public TSResponse generateTimestamp(TSRequest tsQuery) throws java.io.IOException
generateTimestamp in interface TimestampertsQuery - The timestamp query.java.io.IOException - The exception is thrown if a problem occurs while
communicating with the TSA.Copyright © 2020. All Rights Reserved.