Versions in this module Expand all Collapse all v0 v0.30.0 Oct 11, 2024 Changes in this version + const AACompromise + const AffiliationChanged + const CACompromise + const CertificateHold + const CessationOfOperation + const Good + const KeyCompromise + const PrivilegeWithdrawn + const RemoveFromCRL + const Revoked + const ServerFailed + const Superseded + const Unknown + const Unspecified + var InternalErrorErrorResponse = []byte + var MalformedRequestErrorResponse = []byte + var SigRequredErrorResponse = []byte + var TryLaterErrorResponse = []byte + var UnauthorizedErrorResponse = []byte + func CreateRequest(cert, issuer *x509.Certificate, opts *RequestOptions) ([]byte, error) + func CreateResponse(issuer, responderCert *x509.Certificate, template Response, priv crypto.Signer) ([]byte, error) + type ParseError string + func (p ParseError) Error() string + type Request struct + HashAlgorithm crypto.Hash + IssuerKeyHash []byte + IssuerNameHash []byte + SerialNumber *big.Int + func ParseRequest(bytes []byte) (*Request, error) + func (req *Request) Marshal() ([]byte, error) + type RequestOptions struct + Hash crypto.Hash + type Response struct + Certificate *x509.Certificate + Extensions []pkix.Extension + ExtraExtensions []pkix.Extension + IssuerHash crypto.Hash + NextUpdate time.Time + ProducedAt time.Time + Raw []byte + RawResponderName []byte + ResponderKeyHash []byte + RevocationReason int + RevokedAt time.Time + SerialNumber *big.Int + Signature []byte + SignatureAlgorithm x509.SignatureAlgorithm + Status int + TBSResponseData []byte + ThisUpdate time.Time + func ParseResponse(bytes []byte, issuer *x509.Certificate) (*Response, error) + func ParseResponseForCert(bytes []byte, cert, issuer *x509.Certificate) (*Response, error) + func (resp *Response) CheckSignatureFrom(issuer *x509.Certificate) error + type ResponseError struct + Status ResponseStatus + func (r ResponseError) Error() string + type ResponseStatus int + const InternalError + const Malformed + const SignatureRequired + const Success + const TryLater + const Unauthorized + func (r ResponseStatus) String() string