ocsp

package
v0.0.0-...-740dce8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, logger *log.Logger, responders []string, client *http.Client, request []byte, etag string, issuer *x509.Certificate) (*ocsp.Response, []byte, string, int, error)

Fetch requests a OCSP response from a upstream responder. It will make multiple requests before the Context expires if requests timeout

func VerifyResponse

func VerifyResponse(now time.Time, serial *big.Int, resp *ocsp.Response) error

VerifyResponse verifies a OCSP response is valid and for the expected certificate

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL