revocation

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package Revocation provides methods for checking the revocation status of a certificate chain

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Revocation

type Revocation interface {
	// Validate checks the revocation status for a certificate chain using OCSP
	// and returns an array of CertRevocationResults that contain the results
	// and any errors that are encountered during the process
	Validate(certChain []*x509.Certificate, signingTime time.Time) ([]*result.CertRevocationResult, error)
}

Revocation is an interface that specifies methods used for revocation checking

func New

func New(httpClient *http.Client) (Revocation, error)

New constructs a revocation object

Directories

Path Synopsis
Package ocsp provides methods for checking the OCSP revocation status of a certificate chain, as well as errors related to these checks
Package ocsp provides methods for checking the OCSP revocation status of a certificate chain, as well as errors related to these checks
Package result provides general objects that are used across revocation
Package result provides general objects that are used across revocation

Jump to

Keyboard shortcuts

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