certs

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCertExpired = errors.New("certificate expired before renewal")
	ErrCertRevoked = errors.New("certificate has been revoked and cannot be renewed")
	ErrUnkonwn     = errors.New("certificate status unknown")
)

Functions

This section is empty.

Types

type OCSP

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

func New

func New(certsURI string) *OCSP

func (*OCSP) VerifyPeerCertificate

func (o *OCSP) VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error

Jump to

Keyboard shortcuts

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