Documentation
¶
Overview ¶
package token validates a sigsum submit-token.
Index ¶
Constants ¶
View Source
const ( Label = "_sigsum_v0" HeaderName = "Sigsum-Token" )
Variables ¶
This section is empty.
Functions ¶
func MakeToken ¶ added in v0.1.7
TODO: Return hex string, for consistency with VerifyToken ?
func NormalizeDomainName ¶ added in v0.1.18
Normalizes a utf8 domain name.
Types ¶
type DnsVerifier ¶
type DnsVerifier struct {
// contains filtered or unexported fields
}
DnsResolver implements the Verifier interface by querying DNS.
type Verifier ¶
Verifier can verify that a domain name is aware of a public key. Name and signature corresponds to the value of the submit-token: header, so signature is still hex-encoded.
Click to show internal directories.
Click to hide internal directories.