Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + const PluginName + var DefaultAgentPathTemplate = agentpathtemplate.MustParse("/{{ .PluginName}}/{{ .Fingerprint }}") + type Client struct + func NewClient(configString string) (*Client, error) + func (c *Client) NewHandshake() *ClientHandshake + type ClientConfig struct + HostCertPath string + HostKeyPath string + type ClientHandshake struct + func (c *ClientHandshake) AttestationData() ([]byte, error) + func (c *ClientHandshake) RespondToChallenge(req []byte) ([]byte, error) + type Server struct + func NewServer(trustDomain, configString string) (*Server, error) + func (s *Server) NewHandshake() *ServerHandshake + type ServerConfig struct + AgentPathTemplate string + CanonicalDomain string + CertAuthorities []string + CertAuthoritiesPath string + type ServerHandshake struct + func (s *ServerHandshake) AgentID() (spiffeid.ID, error) + func (s *ServerHandshake) IssueChallenge() ([]byte, error) + func (s *ServerHandshake) VerifyAttestationData(data []byte) error + func (s *ServerHandshake) VerifyChallengeResponse(res []byte) error