csr

package
v0.0.0-...-2d112bd Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(log zerolog.Logger, issuerNamespace string, cmCli *cmversioned.Clientset, preserveCrtReq bool, issuerRef cmmeta.ObjectReference, issuanceLifeTime time.Duration) *service

Types

type Response

type Response struct {
	Certificate  []byte
	Intermediate [][]byte
	NotAfter     *timestamppb.Timestamp
}

func (Response) CertificateHash

func (r Response) CertificateHash() string

func (Response) ToPBCertifyResponse

func (r Response) ToPBCertifyResponse() *pb.CertifyResponse

type SigningRequest

type SigningRequest struct {
	CSR      []byte
	Identity string
}

func (SigningRequest) ToCertManagerRequest

func (r SigningRequest) ToCertManagerRequest(issuerRef cmmeta.ObjectReference, duration time.Duration) *cmapi.CertificateRequest

Jump to

Keyboard shortcuts

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