ct

package
v0.11.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	DateTime                  time.Time `json:"date-time"`
	Hostname                  string    `json:"hostname"`
	Port                      int       `json:"port"`
	Scheme                    string    `json:"scheme"`
	EffectiveExpirationDate   time.Time `json:"effective-expiration-date"`
	ServedCertificateChain    [][]byte  `json:"served-certificate-chain"`
	ValidatedCertificateChain [][]byte  `json:"validated-certificate-chain"`
	Scts                      []Sct     `json:"scts"`
	FailureMode               string    `json:"failure-mode"`
	TestReport                bool      `json:"test-report"`
}

type ReportRequest

type ReportRequest struct {
	Report Report `json:"expect-ct-report"`
}

type Sct

type Sct struct {
	Version       int    `json:"version"`
	Status        string `json:"status"`
	Source        string `json:"source"`
	SerializedSct string `json:"serialized_sct"`
}

type Server

type Server struct{}

func NewServer

func NewServer() *Server

func (*Server) Route

func (s *Server) Route(router *httprouter.Router)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL