# Packages

chainfix is a utility program for fixing the validation chains for certificates.

# Functions

Fix attempts to fix the certificate chain for the certificate that is passed to it, with respect to the given roots.
NewFixAndLog creates an object that will asynchronously fix any chains that are added to its queue, and then log them to the Certificate Transparency log found at the given url.
NewFixer creates a new asynchronous fixer and starts up a pool of workerCount workers.
NewLogger creates a new asynchronous logger to log chains to the Certificate Transparency log at the given url.
UnmarshalJSON converts the JSON representation of a FixError back to a FixError.

# Constants

FixError types.
FixError types.
Posting to log failed.
FixError types.
FixError types.
FixError types.

# Structs

FixAndLog contains a Fixer and a Logger, for all your fix-then-log-chain needs!.
Fixer contains methods to asynchronously fix certificate chains and properties to store information about each attempt that is made to fix a certificate chain.
FixError is the struct with which errors in the fixing process are reported.
Logger contains methods to asynchronously log certificate chains to a Certificate Transparency log and properties to store information about each attempt that is made to post a certificate chain to said log.

# Interfaces

Limiter is an interface to allow different rate limiters to be used with the Logger.