crl

package
v0.0.0-...-daf41ac Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRL

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

func LoadCRL

func LoadCRL(c *crt.Certificate) (*CRL, error)

func LoadCRLFromBytes

func LoadCRLFromBytes(content []byte) (*CRL, error)

func LoadCRLFromPath

func LoadCRLFromPath(path string) (*CRL, error)

func LoadCRLFromUri

func LoadCRLFromUri(uri string) (*CRL, error)

func NewCRL

func NewCRL(content []byte) (*CRL, error)

func (*CRL) GetRevokedCertificates

func (c *CRL) GetRevokedCertificates() []pkix.RevokedCertificate

func (*CRL) IsRevoked

func (c *CRL) IsRevoked(serialNumber *big.Int) bool

Jump to

Keyboard shortcuts

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