Documentation ¶
Index ¶
- Variables
- func NewCertVerifier(dohURL string, q ZoneQuery) (*hnsquery.DNSCertVerifier, error)
- func NewContentPages(c *Config) *content.Config
- func NewGRPCCertVerifierServer(c *Config) *grpc.Server
- func NewHNSQueryClient() (*hnsquery.Client, error)
- type CertVerifierGRPC
- type Config
- type RootZoneConfig
- type ZoneQuery
Constants ¶
This section is empty.
Variables ¶
View Source
var RootAnchor = func(ctx context.Context, v *RootZoneConfig, cut string) (*dnssec.Zone, error) { zone, err := dnssec.NewZone(cut, nil) if err != nil { return nil, err } zone.VerifyCallback = func(ctx context.Context, msg *dns.Msg) (bool, error) { return rootVerify(ctx, v, msg) } return zone, nil }
Functions ¶
func NewCertVerifier ¶
func NewCertVerifier(dohURL string, q ZoneQuery) (*hnsquery.DNSCertVerifier, error)
func NewContentPages ¶
func NewHNSQueryClient ¶
Types ¶
type CertVerifierGRPC ¶
type CertVerifierGRPC struct { proto.UnimplementedCertVerifierServer // contains filtered or unexported fields }
GRPC Verifier should use a mojo pipe instead.
func (*CertVerifierGRPC) VerifyCert ¶
func (bc *CertVerifierGRPC) VerifyCert(ctx context.Context, req *proto.CertVerifyRequest) (*proto.CertVerifyResponse, error)
type RootZoneConfig ¶
type RootZoneConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.