Documentation ¶
Index ¶
- func NewCertAuthorityService(ctx context.Context, parent string, opts ...option.ClientOption) (ca.CertificateAuthority, error)
- func Req(parent, certAuthority string, pemBytes []byte, cert *x509.Certificate) (*privatecapb.CreateCertificateRequest, error)
- type CertAuthorityService
- func (c *CertAuthorityService) Close() error
- func (c *CertAuthorityService) CreateCertificate(ctx context.Context, principal identity.Principal, publicKey crypto.PublicKey) (*ca.CodeSigningCertificate, error)
- func (c *CertAuthorityService) TrustBundle(ctx context.Context) ([][]*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertAuthorityService ¶
func NewCertAuthorityService(ctx context.Context, parent string, opts ...option.ClientOption) (ca.CertificateAuthority, error)
func Req ¶
func Req(parent, certAuthority string, pemBytes []byte, cert *x509.Certificate) (*privatecapb.CreateCertificateRequest, error)
Types ¶
type CertAuthorityService ¶
type CertAuthorityService struct {
// contains filtered or unexported fields
}
func (*CertAuthorityService) Close ¶ added in v1.1.0
func (c *CertAuthorityService) Close() error
func (*CertAuthorityService) CreateCertificate ¶
func (c *CertAuthorityService) CreateCertificate(ctx context.Context, principal identity.Principal, publicKey crypto.PublicKey) (*ca.CodeSigningCertificate, error)
func (*CertAuthorityService) TrustBundle ¶ added in v0.5.2
func (c *CertAuthorityService) TrustBundle(ctx context.Context) ([][]*x509.Certificate, error)
Click to show internal directories.
Click to hide internal directories.