Documentation ¶
Index ¶
Constants ¶
View Source
const ( NamedRootMD5Sum = "9cdf6a12db2dc558e299601015c37948" RootAnchorsSHA256Sum = "45336725f9126db810a59896ae93819de743c416262f79c4444042c92e520770" )
Variables ¶
View Source
var ( ErrBadStatusCode = errors.New("bad HTTP status code") ErrChecksumMismatch = errors.New("checksum does not match") )
Functions ¶
This section is empty.
Types ¶
type DNSCrypto ¶
type DNSCrypto interface { DownloadNamedRoot(ctx context.Context) (namedRoot []byte, err error) DownloadRootAnchorsXML(ctx context.Context) (rootAnchorsXML []byte, err error) ConvertRootAnchorsToRootKeys(rootAnchorsXML []byte) (rootKeys []string, err error) SetNamedRootHexMD5(namedRootHexMD5 string) SetRootAnchorsHexSHA256(rootAnchorsHexSHA256 string) }
Click to show internal directories.
Click to hide internal directories.