v1

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertAuthorityService

func NewCertAuthorityService(ctx context.Context, parent string, opts ...option.ClientOption) (ca.CertificateAuthority, error)

func Req

func Req(parent, certAuthority string, pemBytes []byte, cert *x509.Certificate) (*privatecapb.CreateCertificateRequest, error)

Types

type CertAuthorityService

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

func (*CertAuthorityService) Close added in v1.1.0

func (c *CertAuthorityService) Close() error

func (*CertAuthorityService) CreateCertificate

func (c *CertAuthorityService) CreateCertificate(ctx context.Context, principal identity.Principal, publicKey crypto.PublicKey) (*ca.CodeSigningCertificate, error)

func (*CertAuthorityService) TrustBundle added in v0.5.2

func (c *CertAuthorityService) TrustBundle(ctx context.Context) ([][]*x509.Certificate, error)

Jump to

Keyboard shortcuts

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