modulepackage
0.0.0-20231217203849-220c5c2851b7
Repository: https://github.com/digitorus/timestamp.git
Documentation: pkg.go.dev
# Functions
CreateErrorResponse is used to create response other than granted and granted with mod status.
CreateRequest returns a DER-encoded, timestamp request for the status of cert.
Parse parses an Time-Stamp in DER form.
ParseRequest parses an timestamp request in DER form.
ParseResponse parses an Time-Stamp response in DER form containing a TimeStampToken.
# Constants
AddInfoNotAvailable means that the information requested could not be understood or is not available.
BadAlgorithm defines an unrecognized or unsupported Algorithm Identifier.
BadDataFormat means tha data submitted has the wrong format.
BadRequest indicates that the transaction not permitted or supported.
Granted PKIStatus contains the value zero a TimeStampToken, as requested, is present.
GrantedWithMods PKIStatus contains the value one a TimeStampToken, with modifications, is present.
Rejection PKIStatus.
RevocationNotification PKIStatus.
RevocationWarning PKIStatus.
SystemFailure indicates that the request cannot be handled due to system failure.
TimeNotAvailable indicates that TSA's time source is not available.
UnacceptedExtension indicates that the requested extension is not supported by the TSA.
UnacceptedPolicy indicates that the requested TSA policy is not supported by the TSA.
UnknownFailureInfo mean that no known failure info was provided.
Waiting PKIStatus.
# Structs
Request represents an Time-Stamp request.
RequestOptions contains options for constructing timestamp requests.
Timestamp represents an Time-Stamp.
# Type aliases
FailureInfo contains the failure details of an Time-Stamp request.
ParseError results from an invalid Time-Stamp request or response.
Status contains the status of an Time-Stamp request.