Versions in this module Expand all Collapse all v1 v1.2.0 Mar 4, 2021 Changes in this version + const AllLogListURL + const LogListSignatureURL + const LogListURL + type Log struct + DNS string + Description string + Key []byte + LogID []byte + MMD int32 + State *LogStates + TemporalInterval *TemporalInterval + Type string + URL string + type LogList struct + Operators []*Operator + func NewFromJSON(llData []byte) (*LogList, error) + func NewFromSignedJSON(llData, rawSig []byte, pubKey crypto.PublicKey) (*LogList, error) + func (ll *LogList) Compatible(cert *x509.Certificate, certRoot *x509.Certificate, roots LogRoots) LogList + func (ll *LogList) FindLogByKey(key []byte) *Log + func (ll *LogList) FindLogByKeyHash(keyhash [sha256.Size]byte) *Log + func (ll *LogList) FindLogByKeyHashPrefix(prefix string) []*Log + func (ll *LogList) FindLogByName(name string) []*Log + func (ll *LogList) FindLogByURL(url string) *Log + func (ll *LogList) FuzzyFindLog(input string) []*Log + func (ll *LogList) RootCompatible(certRoot *x509.Certificate, roots LogRoots) LogList + func (ll *LogList) SelectByStatus(lstats []LogStatus) LogList + func (ll *LogList) TemporallyCompatible(cert *x509.Certificate) LogList + type LogRoots map[string]*ctfe.PEMCertPool + type LogState struct + Timestamp time.Time + type LogStates struct + Pending *LogState + Qualified *LogState + ReadOnly *ReadOnlyLogState + Rejected *LogState + Retired *LogState + Usable *LogState + func (ls *LogStates) Active() (*LogState, *ReadOnlyLogState) + func (ls *LogStates) LogStatus() LogStatus + func (ls *LogStates) String() string + type LogStatus int + const PendingLogStatus + const QualifiedLogStatus + const ReadOnlyLogStatus + const RejectedLogStatus + const RetiredLogStatus + const UndefinedLogStatus + const UsableLogStatus + func (i LogStatus) String() string + type Operator struct + Email []string + Logs []*Log + Name string + func (op *Operator) GoogleOperated() bool + type ReadOnlyLogState struct + FinalTreeHead TreeHead + type TemporalInterval struct + EndExclusive time.Time + StartInclusive time.Time + type TreeHead struct + SHA256RootHash []byte + TreeSize int64