cloudcas

package
v0.26.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateAuthorityClient

CertificateAuthorityClient is the interface implemented by the Google CAS client.

type CloudCAS

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

CloudCAS implements a Certificate Authority Service using Google Cloud CAS.

func New

func New(ctx context.Context, opts apiv1.Options) (*CloudCAS, error)

New creates a new CertificateAuthorityService implementation using Google Cloud CAS.

func (*CloudCAS) CreateCertificate

CreateCertificate signs a new certificate using Google Cloud CAS.

func (*CloudCAS) CreateCertificateAuthority added in v0.15.6

CreateCertificateAuthority creates a new root or intermediate certificate using Google Cloud CAS.

func (*CloudCAS) GetCertificateAuthority

GetCertificateAuthority returns the root certificate for the given certificate authority. It implements apiv1.CertificateAuthorityGetter interface.

func (*CloudCAS) RenewCertificate

RenewCertificate renews the given certificate using Google Cloud CAS. Google's CAS does not support the renew operation, so this method uses CreateCertificate.

func (*CloudCAS) RevokeCertificate

RevokeCertificate revokes a certificate using Google Cloud CAS.

func (*CloudCAS) Type added in v0.26.0

func (c *CloudCAS) Type() apiv1.Type

Type returns the type of this CertificateAuthorityService.

Jump to

Keyboard shortcuts

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