Versions in this module Expand all Collapse all v2 v2.1.1 Nov 8, 2021 v2.1.0 Nov 5, 2021 Changes in this version + const ClientStateType + const ClientStateTypeV2 + const ClientStateTypeV3 + const DefaultVendorSubdir + var ErrInvalid = errors.New("invalid data") + var ErrNoPerm = errors.New("no permissions") + var ErrNotExist = errors.New("non existent") + func DefaultStateDirs() []string + type DeviceKey DeviceKeyV3 + type DeviceKeyV3 struct + Auth string + Credential string + Private api.Buffer + Public api.PublicKey + type RootKeyV3 struct + Auth string + Name api.Name + type State StateV3 + func LoadState(dir string) (*State, error) + func NewState() *State + func (s *State) EnsureFresh(cl *api.Client) error + func (s *State) IsEnrolled() bool + func (st *State) Store(keysPath string) error + type StateTpmKey struct + Auth string + Certificate string + Private api.Buffer + Public api.PublicKey + type StateV2 struct + EndorsementCertificate *api.Certificate + EndorsementKey api.PublicKey + QuoteKey StateTpmKey + RootKeyAuth string + Ty string + type StateV3 struct + Config api.Configuration + EndorsementCertificate *api.Certificate + EndorsementKey api.PublicKey + Keys map[string]DeviceKeyV3 + LastUpdate time.Time + Root RootKeyV3 + StubSeed api.Buffer + StubState *StubState + Ty string + func (s *StateV3) EnsureFresh(cl *api.Client) error + func (s *StateV3) IsEnrolled() bool + type StubState struct + EndorsementKey api.Buffer + RootKey api.Buffer + Type string Other modules containing this package github.com/immune-gmbh/agent/v3