package
0.0.0-20210902152239-d07836ab426a
Repository: https://github.com/sylabs/golang-x-crypto.git
Documentation: pkg.go.dev
# Functions
CreateRequest returns a DER-encoded, OCSP request for the status of cert.
CreateResponse returns a DER-encoded OCSP response with the specified contents.
ParseRequest parses an OCSP request in DER form.
ParseResponse parses an OCSP response in DER form.
ParseResponseForCert parses an OCSP response in DER form and searches for a Response relating to cert.
# Constants
The enumerated reasons for revoking a certificate.
The enumerated reasons for revoking a certificate.
The enumerated reasons for revoking a certificate.
The enumerated reasons for revoking a certificate.
The enumerated reasons for revoking a certificate.
Good means that the certificate is valid.
No description provided by the author
The enumerated reasons for revoking a certificate.
No description provided by the author
The enumerated reasons for revoking a certificate.
The enumerated reasons for revoking a certificate.
Revoked means that the certificate has been deliberately revoked.
ServerFailed is unused and was never used (see https://go-review.googlesource.com/#/c/18944).
Status code four is unused in OCSP.
No description provided by the author
The enumerated reasons for revoking a certificate.
No description provided by the author
No description provided by the author
Unknown means that the OCSP responder doesn't know about the certificate.
The enumerated reasons for revoking a certificate.
# Variables
These are pre-serialized error responses for the various non-success codes defined by OCSP.
These are pre-serialized error responses for the various non-success codes defined by OCSP.
These are pre-serialized error responses for the various non-success codes defined by OCSP.
These are pre-serialized error responses for the various non-success codes defined by OCSP.
These are pre-serialized error responses for the various non-success codes defined by OCSP.
# Structs
Request represents an OCSP request.
RequestOptions contains options for constructing OCSP requests.
Response represents an OCSP response containing a single SingleResponse.
ResponseError is an error that may be returned by ParseResponse to indicate that the response itself is an error, not just that its indicating that a certificate is revoked, unknown, etc.
# Type aliases
ParseError results from an invalid OCSP response.
ResponseStatus contains the result of an OCSP request.