Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func IsSVIDExpired(svid []*x509.Certificate, timeNow func() time.Time) bool + type AttestationResult struct + Bundle *bundleutil.Bundle + Key keymanager.Key + Reattestable bool + SVID []*x509.Certificate + type Attestor interface + Attest func(ctx context.Context) (*AttestationResult, error) + func New(config *Config) Attestor + type Config struct + Catalog catalog.Catalog + InsecureBootstrap bool + JoinToken string + Log logrus.FieldLogger + Metrics telemetry.Metrics + NodeAttestor nodeattestor.NodeAttestor + ServerAddress string + Storage storage.Storage + TrustBundle []*x509.Certificate + TrustDomain spiffeid.TrustDomain + type ServerStream struct + Client agentv1.AgentClient + Csr []byte + Log logrus.FieldLogger + Reattestable bool + SVID []*x509.Certificate + func (ss *ServerStream) SendAttestationData(ctx context.Context, attestationData nodeattestor.AttestationData) ([]byte, error) + func (ss *ServerStream) SendChallengeResponse(ctx context.Context, response []byte) ([]byte, error)