Documentation
¶
Index ¶
- Constants
- func APIWebpage(fhctx *fasthttp.RequestCtx, endpoint string)
- func CSS(fhctx *fasthttp.RequestCtx)
- func FrontPage(fhctx *fasthttp.RequestCtx)
- func Linters(fhctx *fasthttp.RequestCtx)
- func POST(fhctx *fasthttp.RequestCtx, path string) int
- func Profiles(fhctx *fasthttp.RequestCtx)
- type BasicResponse
- type Endpoint
- type LintResult
- type RequestInfo
- type ResponseASN1
- type ResponseBytes
- type ResponseStatus
Constants ¶
View Source
const ( CCADB_CSV_FILENAME = "AllCertificateRecordsCSVFormatv2" CCADB_RECORD_ROOT = "Root Certificate" CCADB_RECORD_INTERMEDIATE = "Intermediate Certificate" )
View Source
const ( IDX_SHA256FINGERPRINT int = iota IDX_SUBJECTKEYIDENTIFIER IDX_CERTIFICATERECORDTYPE IDX_TLSCAPABLE IDX_TLSEVCAPABLE IDX_SMIMECAPABLE IDX_CODESIGNINGCAPABLE MAX_IDX )
View Source
const ( // POST (API) and GET (webpage). ENDPOINTSTRING_LINTCERT = "lintcert" ENDPOINTSTRING_LINTTBSCERT = "linttbscert" ENDPOINTSTRING_LINTCRL = "lintcrl" ENDPOINTSTRING_LINTTBSCRL = "linttbscrl" ENDPOINTSTRING_LINTOCSP = "lintocsp" ENDPOINTSTRING_LINTTBSOCSP = "linttbsocsp" // GET. ENDPOINTSTRING_FRONTPAGE = "" ENDPOINTSTRING_CSS = "pkimetal.css" ENDPOINTSTRING_FAVICON = "favicon.ico" ENDPOINTSTRING_MASCOT = "mascot.jpg" ENDPOINTSTRING_LINTERS = "linters" ENDPOINTSTRING_PROFILES = "profiles" // GET (Monitoring). ENDPOINTSTRING_LIVEZ = "livez" ENDPOINTSTRING_READYZ = "readyz" ENDPOINTSTRING_METRICS = "metrics" ENDPOINTSTRING_BUILD = "debug/build" ENDPOINTSTRING_CONFIG = "debug/config" )
View Source
const ( INPUTSTRING_B64CERT = "b64cert" INPUTSTRING_B64TBSCERT = "b64tbscert" INPUTSTRING_B64CRL = "b64crl" INPUTSTRING_B64TBSCRL = "b64tbscrl" INPUTSTRING_B64OCSP = "b64ocsp" INPUTSTRING_B64TBSOCSP = "b64tbsocsp" )
Variables ¶
This section is empty.
Functions ¶
func APIWebpage ¶
func APIWebpage(fhctx *fasthttp.RequestCtx, endpoint string)
func CSS ¶
func CSS(fhctx *fasthttp.RequestCtx)
func FrontPage ¶
func FrontPage(fhctx *fasthttp.RequestCtx)
func Linters ¶
func Linters(fhctx *fasthttp.RequestCtx)
func Profiles ¶
func Profiles(fhctx *fasthttp.RequestCtx)
Types ¶
type BasicResponse ¶
type LintResult ¶
type RequestInfo ¶
type RequestInfo struct {
// contains filtered or unexported fields
}
func (*RequestInfo) GetInput ¶
func (ri *RequestInfo) GetInput(fhctx *fasthttp.RequestCtx) error
func (*RequestInfo) GetPOSTEndpoint ¶
func (ri *RequestInfo) GetPOSTEndpoint(endpointString string) (ok bool)
func (*RequestInfo) GetProfile ¶
func (ri *RequestInfo) GetProfile(profileName string) bool
type ResponseASN1 ¶
type ResponseASN1 struct { Status asn1.Enumerated Response ResponseBytes `asn1:"explicit,tag:0,optional"` }
type ResponseBytes ¶
type ResponseBytes struct { ResponseType asn1.ObjectIdentifier Response []byte }
Click to show internal directories.
Click to hide internal directories.