Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTPMSeed ¶ added in v1.3.0
func GetTPMSeed(reg elementalv1.Registration, usePreviousSeed bool, previousSeed int64) int64
Types ¶
type AttestationChannel ¶ added in v0.5.0
type AttestationChannel struct {
// contains filtered or unexported fields
}
type AuthClient ¶ added in v0.5.0
type AuthClient struct {
// contains filtered or unexported fields
}
func NewAuthClient ¶ added in v1.3.0
func NewAuthClient(seed int64) *AuthClient
func (*AuthClient) Authenticate ¶ added in v1.1.3
func (auth *AuthClient) Authenticate(conn *websocket.Conn) error
func (*AuthClient) GetName ¶ added in v1.1.3
func (auth *AuthClient) GetName() string
func (*AuthClient) GetPubHash ¶ added in v1.1.3
func (auth *AuthClient) GetPubHash() (string, error)
func (*AuthClient) GetToken ¶ added in v1.1.3
func (auth *AuthClient) GetToken() (string, error)
func (*AuthClient) Init ¶ added in v0.5.0
func (auth *AuthClient) Init(reg elementalv1.Registration) error
type AuthServer ¶
func (*AuthServer) Authenticate ¶
func (a *AuthServer) Authenticate(conn *websocket.Conn, req *http.Request, registerNamespace string) (*elementalv1.MachineInventory, bool, error)
Click to show internal directories.
Click to hide internal directories.