crl

package
v1.5.1-0...-956f000 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: BSD-2-Clause Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package crl exposes Certificate Revocation List generation functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGenericCRL

func CreateGenericCRL(certList []pkix.RevokedCertificate, key crypto.Signer, issuingCert *x509.Certificate, expiryTime time.Time) ([]byte, error)

CreateGenericCRL is a helper function that takes in all of the information above, and then calls the createCRL function. This outputs the bytes of the created CRL.

func NewCRLFromDB

func NewCRLFromDB(certs []certdb.CertificateRecord, issuerCert *x509.Certificate, key crypto.Signer, expiryTime time.Duration) ([]byte, error)

NewCRLFromDB takes in a list of CertificateRecords, as well as the issuing certificate of the CRL, and the private key. This function is then used to parse the records and generate a CRL

func NewCRLFromFile

func NewCRLFromFile(serialList, issuerFile, keyFile []byte, expiryTime string) ([]byte, error)

NewCRLFromFile takes in a list of serial numbers, one per line, as well as the issuing certificate of the CRL, and the private key. This function is then used to parse the list and generate a CRL

Types

This section is empty.

Jump to

Keyboard shortcuts

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