Documentation
¶
Overview ¶
Package loglist allows parsing and searching of the master CT Log list.
Index ¶
Constants ¶
const LogListURL = "https://www.gstatic.com/ct/log_list/log_list.json"
LogListURL has the master URL for Google Chrome's log list.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
Description string `json:"description"`
Key []byte `json:"key"`
MaximumMergeDelay int `json:"maximum_merge_delay"` // seconds
OperatedBy []int `json:"operated_by"` // List of log operators
URL string `json:"url"`
FinalSTH *STH `json:"final_sth,omitempty"`
DisqualifiedAt int `json:"disqualified_at,omitempty"`
DNSAPIEndpoint string `json:"dns_api_endpoint,omitempty"` // DNS API endpoint for the log
}
Log describes a log.
type LogList ¶
LogList holds a collection of logs and their operators
func (*LogList) FindLogByKey ¶
FindLogByKey finds the log with the given DER-encoded key.
func (*LogList) FindLogByKeyHash ¶
FindLogByKeyHash finds the log with the given key hash.
func (*LogList) FindLogByName ¶
FindLogByName returns all logs whose names contain the given string.
func (*LogList) FindLogByURL ¶
FindLogByURL finds the log with the given URL.
func (*LogList) FuzzyFindLog ¶
FuzzyFindLog tries to find logs that match the given unspecified input, whose format is unspecified. This generally returns a single log, but if text input that matches multiple log descriptions is provided, then multiple logs may be returned.