Versions in this module Expand all Collapse all v1 v1.1.0 Aug 3, 2020 v1.0.0 Apr 23, 2020 Changes in this version + func CreateCACertificate(tb testing.TB, parent *x509.Certificate, parentKey crypto.Signer) (*x509.Certificate, crypto.Signer) + func CreateCertificate(tb testing.TB, tmpl, parent *x509.Certificate, pub, priv interface{}) *x509.Certificate + func CreateX509SVID(tb testing.TB, parent *x509.Certificate, parentKey crypto.Signer, ...) (*x509.Certificate, crypto.Signer) + func NewEC256Key(tb testing.TB) *ecdsa.PrivateKey + func NewSerial(tb testing.TB) *big.Int + type CA struct + func NewCA(tb testing.TB) *CA + func (ca *CA) CreateCA() *CA + func (ca *CA) CreateX509SVID(spiffeID string) ([]*x509.Certificate, crypto.Signer) + func (ca *CA) Roots() []*x509.Certificate + func (ca *CA) RootsPool() *x509.CertPool + type Logger struct + func NewLogger(tb testing.TB) *Logger + func (l *Logger) Debugf(format string, args ...interface{}) + func (l *Logger) Errorf(format string, args ...interface{}) + func (l *Logger) Infof(format string, args ...interface{}) + func (l *Logger) Warnf(format string, args ...interface{}) + type WorkloadAPI struct + func NewWorkloadAPI(tb testing.TB, resp *X509SVIDResponse) *WorkloadAPI + func (w *WorkloadAPI) Addr() string + func (w *WorkloadAPI) SetX509SVIDResponse(r *X509SVIDResponse) + func (w *WorkloadAPI) Stop() + type X509SVID struct + CertChain []*x509.Certificate + FederatesWith []string + Key crypto.Signer + type X509SVIDResponse struct + Bundle []*x509.Certificate + FederatedBundles map[string][]*x509.Certificate + SVIDs []X509SVID + func (r *X509SVIDResponse) ToProto(tb testing.TB) *workload.X509SVIDResponse