public class

HttpTimestamper

extends Object
implements Timestamper
java.lang.Object
   ↳ sun.security.timestamp.HttpTimestamper

Class Overview

A timestamper that communicates with a Timestamping Authority (TSA) over HTTP. It supports the Time-Stamp Protocol defined in: RFC 3161.

Summary

Public Constructors
HttpTimestamper(String tsaUrl)
Creates a timestamper that connects to the specified TSA.
Public Methods
TSResponse generateTimestamp(TSRequest tsQuery)
Connects to the TSA and requests a timestamp.
[Expand]
Inherited Methods
From class java.lang.Object
From interface sun.security.timestamp.Timestamper

Public Constructors

public HttpTimestamper (String tsaUrl)

Creates a timestamper that connects to the specified TSA.

Public Methods

public TSResponse generateTimestamp (TSRequest tsQuery)

Connects to the TSA and requests a timestamp.

Parameters
tsQuery The timestamp query.
Returns
  • The result of the timestamp query.
Throws
IOException The exception is thrown if a problem occurs while communicating with the TSA.