Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct {
Keys []json.RawMessage `json:"keys"`
}
type JAFARIPList ¶
type JAFARIPList struct {
Prefixes []JAFARPrefix `json:"prefixes"`
}
type JAFARPrefix ¶
type JWKSResponse ¶
type JWKSResponse struct {
Keys []json.RawMessage `json:"keys"`
}
type Middleware ¶
type Middleware struct {
DirectoryBase string `json:"directory_base,omitempty"`
RegistryURLs []string `json:"registry,omitempty"`
FailOnLoadError bool `json:"fail_on_load_error,omitempty"`
// contains filtered or unexported fields
}
func (Middleware) CaddyModule ¶
func (m Middleware) CaddyModule() caddy.ModuleInfo
func (*Middleware) ServeHTTP ¶
func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
func (*Middleware) UnmarshalCaddyfile ¶
func (m *Middleware) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
type SignatureAgentCard ¶
type SignatureAgentCard struct {
JWKSUri *string `json:"jwks_uri"`
IPSUri *string `json:"ips_uri"`
Keys []json.RawMessage `json:"keys"`
}
type SignatureValidator ¶
type SignatureValidator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(keys keySpecs) (*SignatureValidator, error)
Click to show internal directories.
Click to hide internal directories.