Documentation ¶
Index ¶
- type PrivateCaClient
- func (c *PrivateCaClient) GetSubordinateCAChain(certificate_authority_arn string) (*acmpca.GetCertificateAuthorityCertificateOutput, error)
- func (c *PrivateCaClient) IssueCertificateFromTemplate(parameters *apiv1.CertificateAuthorityParameter, csr []byte, template string) (*x509.Certificate, error)
- func (c *PrivateCaClient) IssueSubordinateCertificate(parameters types.CertificateParameters, algorithm string, csr []byte) (*x509.Certificate, error)
- func (c *PrivateCaClient) RevokeCertificate(certificate_authority_arn string, serial_number string, ...) (*acmpca.RevokeCertificateOutput, error)
- type PrivateCaClientIface
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) }
Click to show internal directories.
Click to hide internal directories.