Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertAuthorityService ¶
func Req ¶
func Req(parent string, pemBytes []byte, cert *x509.Certificate) (*privatecapb.CreateCertificateRequest, error)
Types ¶
type CertAuthorityService ¶
type CertAuthorityService struct {
// contains filtered or unexported fields
}
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.