Documentation ¶
Index ¶
Constants ¶
View Source
const ( URL_ROOT_ANCHORS = "https://data.iana.org/root-anchors/root-anchors.xml" URL_ROOT_ANCHORS_SIGNATURE = "https://data.iana.org/root-anchors/root-anchors.p7s" URL_ROOT_ZONE = "https://www.internic.net/domain/root.zone" )
Variables ¶
View Source
var ( //go:embed ICANN_ROOT_CA.crt ICANN_ROOT_CA_PEM []byte ICANN_ROOT_CA_POOL *x509.CertPool )
Functions ¶
This section is empty.
Types ¶
type KeyDigest ¶
type Option ¶
type Option func(*config)
func WithDNSResolver ¶
func WithDNSResolver(resolver DNSResolver) Option
type RootTrustFetcher ¶
type RootTrustFetcher struct {
// contains filtered or unexported fields
}
func NewRootTrustFetcher ¶
func NewRootTrustFetcher(options ...Option) (fetcher *RootTrustFetcher, err error)
func (*RootTrustFetcher) FetchVerifyRootKeys ¶
func (rtf *RootTrustFetcher) FetchVerifyRootKeys() (rootKeys map[uint16]*dns.DNSKEY, err error)
Click to show internal directories.
Click to hide internal directories.