Versions in this module Expand all Collapse all v0 v0.1.4 Nov 2, 2026 Changes in this version + const Granted + const GrantedWithMods + const Rejection + const RevocationNotification + const RevocationWarning + const Waiting + func CreateErrorResponse(pkiStatus int, pkiFailureInfo FailureInfo) ([]byte, error) + func CreateRequest(r io.Reader, opts *RequestOptions) ([]byte, error) + type FailureInfo int + const AddInfoNotAvailable + const BadAlgorithm + const BadDataFormat + const BadRequest + const SystemFailure + const TimeNotAvailable + const UnacceptedExtension + const UnacceptedPolicy + func (f FailureInfo) String() string + type ParseError string + func (p ParseError) Error() string + type Request struct + Certificates bool + Extensions []pkix.Extension + ExtraExtensions []pkix.Extension + HashAlgorithm crypto.Hash + HashedMessage []byte + Nonce *big.Int + TSAPolicyOID asn1.ObjectIdentifier + func ParseRequest(bytes []byte) (*Request, error) + func (req *Request) Marshal() ([]byte, error) + type RequestOptions struct + Certificates bool + Hash crypto.Hash + Nonce *big.Int + TSAPolicyOID asn1.ObjectIdentifier + type Timestamp struct + Accuracy time.Duration + AddTSACertificate bool + Certificates []*x509.Certificate + Extensions []pkix.Extension + ExtraExtensions []pkix.Extension + HashAlgorithm crypto.Hash + HashedMessage []byte + Nonce *big.Int + Ordering bool + Policy asn1.ObjectIdentifier + Qualified bool + SerialNumber *big.Int + Time time.Time + func Parse(bytes []byte) (*Timestamp, error) + func ParseResponse(bytes []byte) (*Timestamp, error) + func (t *Timestamp) CreateResponse(signingCert *x509.Certificate, priv crypto.Signer) ([]byte, error)