crlcache

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier interface {
	// Update the cache
	Update() error

	// Verify returns OCSP status:
	//   ocsp.Revoked - the certificate found in CRL
	//   ocsp.Good - the certificate not found in a valid CRL
	//   ocsp.Unknown - no CRL or OCSP response found for the certificate
	Verify(crt *x509.Certificate, issuer *x509.Certificate) (int, error)
}

Verifier provides an interface to check revocation status

Jump to

Keyboard shortcuts

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