certificate

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainVerifier

type ChainVerifier struct{}

func (*ChainVerifier) Verify

func (v *ChainVerifier) Verify(chain []*x509.Certificate, rootCertificates []*x509.Certificate) error

type PemCertificateParser

type PemCertificateParser struct{}

func (*PemCertificateParser) Parse

func (p *PemCertificateParser) Parse(certBytes []byte) (*x509.Certificate, error)

type RevocationVerifier

type RevocationVerifier struct{}

func (*RevocationVerifier) IsRevoked

func (v *RevocationVerifier) IsRevoked(certificate *x509.Certificate, crl *pkix.CertificateList) bool

func (*RevocationVerifier) Verify

func (v *RevocationVerifier) Verify(certificate *x509.Certificate) bool

Jump to

Keyboard shortcuts

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