certificateissuer

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateIssuer

type CertificateIssuer interface {
	ServiceInfo() api.Info

	IssueCertificate(ctx context.Context, req *IssueCertificateRequest) (*IssueCertificateResponse, error)
}

type CertificatePrivateKey

type CertificatePrivateKey struct {
	// V1 Fields
	Data []byte
}

type CertificateValidity

type CertificateValidity struct {
	// V1 Fields
	Value int64
	Type  ValidityType
}

type IssueCertificateRequest

type IssueCertificateRequest struct {
	// V1 Fields
	CommonName string
	Localities []string
	Validity   *CertificateValidity
	PrivateKey *CertificatePrivateKey
}

type IssueCertificateResponse

type IssueCertificateResponse struct {
	// V1 Fields
	ChainPem string
}

type ValidityType

type ValidityType int32
const (
	Unspecified ValidityType = iota
	Days
	Months
	Years
)

Jump to

Keyboard shortcuts

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