Package org.bouncycastle.tsp
package org.bouncycastle.tsp
Classes for dealing Time Stamp Protocol (TSP) - RFC 3161.
-
ClassDescriptionWrapper for the
Accuracyfield of an RFC 3161 TSTInfo, expressing the time deviation around the genTime value of a time-stamp token as a seconds / milliseconds / microseconds triple.Base class for an RFC 3161 Time Stamp Request.Generator for RFC 3161 Time Stamp Request objects.Base class for an RFC 3161 Time Stamp Response object.Generator for RFC 3161 Time Stamp Responses.Carrier class for an RFC 3161 time-stamp token - theSignedData(CMS) structure, with content type id-ct-TSTInfo, signed by the TSA.Generator for the RFC 3161 time-stamp token (theSignedDatacarried as thetimeStampTokenof a time-stamp response) over aTimeStampRequest.Wrapper providing typed access to theTSTInfostructure carried by an RFC 3161 time-stamp token - the time of stamping (genTime), its accuracy, the TSA policy, serial number, nonce and the message imprint that was stamped.Recognised hash algorithms for the time stamp protocol.General checked exception for failures arising while processing RFC 3161 time-stamp protocol objects.IOException subclass for I/O and encoding failures arising while processing RFC 3161 time-stamp protocol objects.Utility methods supporting the RFC 3161 time-stamp protocol implementation - extraction of signature time-stamps from a SignerInformation, validation of TSA certificates against the id-kp-timeStamping extended key usage requirement, and digest-length lookups.Exception thrown if a TSP request or response fails to validate.