acmpca

package
v0.0.6-beta Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateCaClient

type PrivateCaClient struct {
	Client PrivateCaClientIface
	// contains filtered or unexported fields
}

func NewPrivateCaClient

func NewPrivateCaClient(parameters types.CertificateParameters) (*PrivateCaClient, error)

func (*PrivateCaClient) GetSubordinateCAChain

func (c *PrivateCaClient) GetSubordinateCAChain(certificate_authority_arn string) (*acmpca.GetCertificateAuthorityCertificateOutput, error)

func (*PrivateCaClient) IssueCertificateFromTemplate

func (c *PrivateCaClient) IssueCertificateFromTemplate(parameters *apiv1.CertificateAuthorityParameter, csr []byte, template string) (*x509.Certificate, error)

func (*PrivateCaClient) IssueSubordinateCertificate

func (c *PrivateCaClient) IssueSubordinateCertificate(parameters types.CertificateParameters, algorithm string, csr []byte) (*x509.Certificate, error)

func (*PrivateCaClient) RevokeCertificate

func (c *PrivateCaClient) RevokeCertificate(certificate_authority_arn string, serial_number string, revocation_reason string) (*acmpca.RevokeCertificateOutput, error)

type PrivateCaClientIface

type PrivateCaClientIface interface {
	IssueCertificate(ctx context.Context, params *acmpca.IssueCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.IssueCertificateOutput, error)
	GetCertificate(ctx context.Context, params *acmpca.GetCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.GetCertificateOutput, error)
	RevokeCertificate(ctx context.Context, params *acmpca.RevokeCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.RevokeCertificateOutput, error)
	GetCertificateAuthorityCertificate(ctx context.Context, params *acmpca.GetCertificateAuthorityCertificateInput, optFns ...func(*acmpca.Options)) (*acmpca.GetCertificateAuthorityCertificateOutput, error)
}

Jump to

Keyboard shortcuts

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