cfssl: github.com/cloudflare/cfssl/crl Index | Files

package crl

import "github.com/cloudflare/cfssl/crl"

Package crl exposes Certificate Revocation List generation functionality

Index

Package Files

crl.go

func CreateGenericCRL Uses

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 Uses

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 Uses

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

Package crl imports 12 packages (graph) and is imported by 94 packages. Updated 2019-07-29. Refresh now. Tools for package owners.