boulder: github.com/letsencrypt/boulder/ctpolicy/ctconfig Index | Files

package ctconfig

import "github.com/letsencrypt/boulder/ctpolicy/ctconfig"

Index

Package Files

ctconfig.go

type CTGroup Uses

type CTGroup struct {
    Name string
    Logs []LogDescription
    // How long to wait for one log to accept a certificate before moving on to
    // the next.
    Stagger cmd.ConfigDuration
}

type LogDescription Uses

type LogDescription struct {
    URI             string
    Key             string
    SubmitFinalCert bool

    *TemporalSet
}

LogDescription contains the information needed to submit certificates to a CT log and verify returned receipts. If TemporalSet is non-nil then URI and Key should be empty.

func (LogDescription) Info Uses

func (ld LogDescription) Info(exp time.Time) (string, string, error)

Info returns the URI and key of the log, either from a plain log description or from the earliest valid shard from a temporal log set

type LogShard Uses

type LogShard struct {
    URI         string
    Key         string
    WindowStart time.Time
    WindowEnd   time.Time
}

LogShard describes a single shard of a temporally sharded CT log

type TemporalSet Uses

type TemporalSet struct {
    Name   string
    Shards []LogShard
}

TemporalSet contains a set of temporal shards of a single log

func (*TemporalSet) Setup Uses

func (ts *TemporalSet) Setup() error

Setup initializes the TemporalSet by parsing the start and end dates and verifying WindowEnd > WindowStart

Package ctconfig imports 4 packages (graph) and is imported by 8 packages. Updated 2019-05-14. Refresh now. Tools for package owners.