certapi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package certapi implements the token + TEK verification API.

Index

Constants

This section is empty.

Variables

View Source
var (
	MetricPrefix = observability.MetricRoot + "/api/certificate"
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) HandleCertificate

func (c *Controller) HandleCertificate() http.Handler

type Metrics added in v0.5.1

type Metrics struct {
	Attempts          *stats.Int64Measure
	TokenExpired      *stats.Int64Measure
	TokenUsed         *stats.Int64Measure
	TokenInvalid      *stats.Int64Measure
	CertificateIssued *stats.Int64Measure
	CertificateErrors *stats.Int64Measure
}

type SignerInfo added in v0.5.0

type SignerInfo struct {
	Signer   crypto.Signer
	KeyID    string
	Issuer   string
	Audience string
	Duration time.Duration
}

Jump to

Keyboard shortcuts

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