Documentation
¶
Index ¶
- type BIOSIdentity
- type CPUIdentity
- type DiskIdentity
- type FingerprintPayload
- type FirmwareIdentity
- type GPUDeviceIdentity
- type JWK
- type Manager
- type MemoryModuleIdentity
- type MotherboardIdentity
- type NICIdentity
- type OptionalFingerprintSignals
- type PCIDeviceIdentity
- type PlatformDeviceIdentity
- type SystemIdentity
- type TPMIdentity
- type USBDeviceIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BIOSIdentity ¶
type CPUIdentity ¶
type DiskIdentity ¶
type FingerprintPayload ¶
type FingerprintPayload struct {
SchemaVersion int `json:"schemaVersion"`
System SystemIdentity `json:"system"`
BIOS BIOSIdentity `json:"bios"`
Motherboard MotherboardIdentity `json:"motherboard"`
CPU CPUIdentity `json:"cpu"`
PCIDevices []PCIDeviceIdentity `json:"pciDevices"`
GPUDevices []GPUDeviceIdentity `json:"gpuDevices,omitempty"` // derived from PCIDevices
PlatformDevices []PlatformDeviceIdentity `json:"platformDevices,omitempty"`
RootDisk DiskIdentity `json:"rootDisk"`
PrimaryNICs []NICIdentity `json:"primaryNICs"`
USBDevices []USBDeviceIdentity `json:"usbDevices"`
Optional OptionalFingerprintSignals `json:"optional,omitempty"`
}
FingerprintPayload is the canonical normalized structure used for hashing/signing.
type FirmwareIdentity ¶
type FirmwareIdentity struct {
SecureBootState string `json:"secureBootState,omitempty"`
}
type GPUDeviceIdentity ¶
type JWK ¶
type JWK struct {
Kty string `json:"kty"` // Key type (must be "OKP")
Crv string `json:"crv"` // Curve (must be "Ed25519")
D string `json:"d"` // Private key (base64url encoded)
X string `json:"x"` // Public key (base64url encoded)
Kid string `json:"kid"` // Key ID (optional)
}
JWK represents a JSON Web Key structure for Ed25519
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages edge device security and attestation
func GetInstance ¶
func GetInstance() *Manager
GetInstance returns the singleton Edge Guard Manager instance
func (*Manager) GetModuleIndex ¶
GetModuleIndex returns the module index (Edge Guard Manager doesn't have a specific index)
func (*Manager) InstanceConfigUpdated ¶
func (m *Manager) InstanceConfigUpdated()
InstanceConfigUpdated handles configuration updates
type MemoryModuleIdentity ¶
type MotherboardIdentity ¶
type NICIdentity ¶
type OptionalFingerprintSignals ¶
type OptionalFingerprintSignals struct {
MemoryModules []MemoryModuleIdentity `json:"memoryModules,omitempty"`
Firmware FirmwareIdentity `json:"firmware,omitempty"`
TPM TPMIdentity `json:"tpm,omitempty"`
DMIBoardUUID string `json:"dmiBoardUuid,omitempty"`
MachineID string `json:"machineId,omitempty"`
}
type PCIDeviceIdentity ¶
type PCIDeviceIdentity struct {
Slot string `json:"slot,omitempty"`
Class string `json:"class,omitempty"`
VendorID string `json:"vendorId,omitempty"`
DeviceID string `json:"deviceId,omitempty"`
SubsystemVendor string `json:"subsystemVendor,omitempty"`
SubsystemDevice string `json:"subsystemDevice,omitempty"`
}
type PlatformDeviceIdentity ¶
type SystemIdentity ¶
type TPMIdentity ¶
type USBDeviceIdentity ¶
Click to show internal directories.
Click to hide internal directories.