local

package
v1.0.0-rc.12 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicCertificateSigner

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

func NewBasicCertificateSigner

func NewBasicCertificateSigner(client pb.CertificateAuthorityClient) *BasicCertificateSigner

NewBasicCertificateSigner creates an instance.

func (*BasicCertificateSigner) Sign

func (s *BasicCertificateSigner) Sign(ctx context.Context, csr []byte) (signedCsr []byte, err error)

Sign a certificate. A valid access token might be required in the context.

type IdentityCertificateSigner

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

func NewIdentityCertificateSigner

func NewIdentityCertificateSigner(client pb.CertificateAuthorityClient) *IdentityCertificateSigner

NewIdentityCertificateSigner creates an instance.

func (*IdentityCertificateSigner) Sign

func (s *IdentityCertificateSigner) Sign(ctx context.Context, csr []byte) (signedCsr []byte, err error)

Sign a certificate. A valid access token might be required in the context.

Jump to

Keyboard shortcuts

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