Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceKeyManager ¶
type ServiceKeyManager struct {
Provider *webauthnext.Provider
SdfEngine *secure_data_format.SecureDataEngine
Logger *logger.LogDispatcher
}
ServiceKeyManager handles TPM-backed machine identities and hardware attestations.
func LoadOrCreateManager ¶
func LoadOrCreateManager( sdf *secure_data_format.SecureDataEngine, sysLog *logger.LogDispatcher, ) (*ServiceKeyManager, error)
LoadOrCreateManager validates context properties and instantiates the manager cleanly.
func NewServiceKeyManager ¶
func NewServiceKeyManager( sdf *secure_data_format.SecureDataEngine, provider *webauthnext.Provider, sysLog *logger.LogDispatcher, ) *ServiceKeyManager
NewServiceKeyManager creates an active service identity coordinator instance.
func (*ServiceKeyManager) RegisterServiceIdentity ¶
func (s *ServiceKeyManager) RegisterServiceIdentity( name string, tpmPublicBytes []byte, ) error
RegisterServiceIdentity binds a machine asset configuration record to the local and distributed index tiers.
func (*ServiceKeyManager) VerifyServiceSession ¶
func (s *ServiceKeyManager) VerifyServiceSession( next http.HandlerFunc, ) http.HandlerFunc
VerifyServiceSession acts as a high-performance HTTP network guardian enforcing continuous DBSC cryptographic proofs.
func (*ServiceKeyManager) VerifySignature ¶
func (s *ServiceKeyManager) VerifySignature( serviceID string, payload []byte, signature []byte, ) bool
VerifySignature validates an inbound payload signature against the cryptographic key material stored inside the hardware layout.
Click to show internal directories.
Click to hide internal directories.