package
0.0.0-20180214161031-3999d1f12477
Repository: https://github.com/jsha/certificate-transparency-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CalcRootHash calculates the root hash for the test data.
DefaultScannerOptions creates a new ScannerOptions struct with sensible defaults.
NewScanner creates a new Scanner instance using client to talk to the log, taking configuration options from opts.

# Constants

Entry0 is first entry.
Entry1 is second entry.
Entry2 is third entry.
Entry3 is fourth entry.
FourEntries holds 4 entries.
FourEntrySTH is an STH for size 4.

# Structs

CertParseFailMatcher is a LeafMatcher which will match any Certificate or Precertificate that triggered an error on parsing.
CertVerifyFailMatcher is a LeafMatcher which will match any Certificate or Precertificate that fails validation.
MatchAll is a Matcher which will match every possible Certificate and Precertificate.
MatchIssuerRegex matches on issuer CN (common name) by regex.
MatchNone is a Matcher which will never match any Certificate or Precertificate.
MatchSerialNumber performs a match for a specific serial number.
MatchSubjectRegex is a Matcher which will use CertificateSubjectRegex and PrecertificateSubjectRegex to determine whether Certificates and Precertificates are interesting.
Scanner is a tool to scan all the entries in a CT Log.
ScannerOptions holds configuration options for the Scanner.

# Interfaces

LeafMatcher describes how to match log entries, based on the Log LeafEntry (which includes the unparsed [pre-]certificate; clients should implement this interface to perform their own match criteria.
Matcher describes how to match certificates and precertificates, based solely on the parsed [pre-]certificate; clients should implement this interface to perform their own match criteria.