Documentation ¶
Overview ¶
Package policy specifies which certificates to look for while monitoring, and how to pull legitimately issued certificates from trusted nodes based on a shared secret. Statically configured logs can also be specified, as well as logs that should not be monitored even if they appear in any dynamic list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Name string `json:"name"` // Artbirary node name to authenticate Secret string `json:"secret"` // Arbitrary node secret for authentication URL string `json:"url"` // Where the node's submissions can be downloaded Domains []string `json:"issues"` // Exact-match domain names allowed to be issued // contains filtered or unexported fields }
func (*Node) UnmarshalJSON ¶
type Wildcard ¶
type Wildcard struct { BootstrapAt time.Time `json:"bootstrap_at"` Wildcard string `json:"wildcard"` Excludes []string `json:"excludes",omitempty"` }
Wildcard matches any string that ends with `Wildcard`, unless:
- `Excludes[i] + "." + Wildcard` is a longer suffix match, or
- the certificate expired before the BootstrapAt timestamp.
func (*Wildcard) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.