Documentation ¶
Index ¶
- type CA
- func (c *CA) Bundle() []*x509.Certificate
- func (c *CA) Clock() clock.Clock
- func (c *CA) CredBuilder() *credtemplate.Builder
- func (c *CA) CredValidator() *credvalidator.Validator
- func (c *CA) JWTSVIDTTL() time.Duration
- func (c *CA) SetError(err error)
- func (c *CA) SetJWTKey(jwtKey *ca.JWTKey)
- func (c *CA) SetX509CA(x509CA *ca.X509CA)
- func (c *CA) SignAgentX509SVID(ctx context.Context, params ca.AgentX509SVIDParams) ([]*x509.Certificate, error)
- func (c *CA) SignDownstreamX509CA(ctx context.Context, params ca.DownstreamX509CAParams) ([]*x509.Certificate, error)
- func (c *CA) SignServerX509SVID(ctx context.Context, params ca.ServerX509SVIDParams) ([]*x509.Certificate, error)
- func (c *CA) SignWorkloadJWTSVID(ctx context.Context, params ca.WorkloadJWTSVIDParams) (string, error)
- func (c *CA) SignWorkloadX509SVID(ctx context.Context, params ca.WorkloadX509SVIDParams) ([]*x509.Certificate, error)
- func (c *CA) X509SVIDTTL() time.Duration
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
func (*CA) Bundle ¶
func (c *CA) Bundle() []*x509.Certificate
func (*CA) CredBuilder ¶ added in v1.6.0
func (c *CA) CredBuilder() *credtemplate.Builder
func (*CA) CredValidator ¶ added in v1.6.0
func (c *CA) CredValidator() *credvalidator.Validator
func (*CA) JWTSVIDTTL ¶
func (*CA) SignAgentX509SVID ¶ added in v1.6.0
func (c *CA) SignAgentX509SVID(ctx context.Context, params ca.AgentX509SVIDParams) ([]*x509.Certificate, error)
func (*CA) SignDownstreamX509CA ¶ added in v1.6.0
func (c *CA) SignDownstreamX509CA(ctx context.Context, params ca.DownstreamX509CAParams) ([]*x509.Certificate, error)
func (*CA) SignServerX509SVID ¶ added in v1.6.0
func (c *CA) SignServerX509SVID(ctx context.Context, params ca.ServerX509SVIDParams) ([]*x509.Certificate, error)
func (*CA) SignWorkloadJWTSVID ¶ added in v1.6.0
func (*CA) SignWorkloadX509SVID ¶ added in v1.6.0
func (c *CA) SignWorkloadX509SVID(ctx context.Context, params ca.WorkloadX509SVIDParams) ([]*x509.Certificate, error)
func (*CA) X509SVIDTTL ¶
Click to show internal directories.
Click to hide internal directories.