signer

package
v2.7.14 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 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 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