Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSVIDExpired ¶ added in v0.11.0
func IsSVIDExpired(svid []*x509.Certificate, timeNow func() time.Time) bool
IsSVIDExpired returns true if the X.509 SVID provided is expired
Types ¶
type AttestationResult ¶
type AttestationResult struct {
SVID []*x509.Certificate
Key *ecdsa.PrivateKey
Bundle *bundleutil.Bundle
}
type Config ¶
type Config struct {
Catalog catalog.Catalog
Metrics telemetry.Metrics
JoinToken string
TrustDomain url.URL
TrustBundle []*x509.Certificate
InsecureBootstrap bool
BundleCachePath string
SVIDCachePath string
Log logrus.FieldLogger
ServerAddress string
CreateNewAgentClient func(grpc.ClientConnInterface) agent.AgentClient
CreateNewBundleClient func(grpc.ClientConnInterface) bundle.BundleClient
}
Click to show internal directories.
Click to hide internal directories.