Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoogleCASClient ¶
NewGoogleCASClient create a CA client for Google CAS.
Types ¶
type GoogleCASClient ¶
type GoogleCASClient struct {
// contains filtered or unexported fields
}
GoogleCASClient: Agent side plugin for Google CAS
func (*GoogleCASClient) CSRSign ¶
func (r *GoogleCASClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) ([]string, error)
CSR Sign calls Google CAS to sign a CSR.
func (*GoogleCASClient) Close ¶
func (r *GoogleCASClient) Close()
func (*GoogleCASClient) GetRootCertBundle ¶
func (r *GoogleCASClient) GetRootCertBundle() ([]string, error)
GetRootCertBundle: Get CA certs of the pool from Google CAS API endpoint
Click to show internal directories.
Click to hide internal directories.