ocspcache

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCSPCache

type OCSPCache struct {
	// contains filtered or unexported fields
}

func New

func New(store *storage.Storage) *OCSPCache

func (*OCSPCache) FlushLoop

func (c *OCSPCache) FlushLoop(ctx context.Context)

func (*OCSPCache) Response

func (c *OCSPCache) Response(cert, issuer *x509.Certificate, margin time.Duration) (*ocsp.Response, error)

func (*OCSPCache) VerifyChains

func (c *OCSPCache) VerifyChains(chains [][]*x509.Certificate, stapled []byte) error

Jump to

Keyboard shortcuts

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