biosrtmanalysis

package
v0.0.0-...-f44e450 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BIOSRTMVolumeAnalyzerID = "BIOSRTMVolume"

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type BIOSRTMVolume

type BIOSRTMVolume struct {
	BIOSDirectoryLevel    int8                   `thrift:"BIOSDirectoryLevel,1" db:"BIOSDirectoryLevel" json:"BIOSDirectoryLevel"`
	ValidationResult_     Validation             `thrift:"ValidationResult,2" db:"ValidationResult" json:"ValidationResult"`
	ValidationDescription string                 `thrift:"ValidationDescription,3" db:"ValidationDescription" json:"ValidationDescription"`
	PlatformInfo          *PlatformBindingInfo   `thrift:"PlatformInfo,4" db:"PlatformInfo" json:"PlatformInfo,omitempty"`
	SecurityFeatures      *SecurityFeatureVector `thrift:"SecurityFeatures,5" db:"SecurityFeatures" json:"SecurityFeatures,omitempty"`
}

Attributes:

  • BIOSDirectoryLevel
  • ValidationResult_
  • ValidationDescription
  • PlatformInfo
  • SecurityFeatures

func NewBIOSRTMVolume

func NewBIOSRTMVolume() *BIOSRTMVolume

func (*BIOSRTMVolume) Equals

func (p *BIOSRTMVolume) Equals(other *BIOSRTMVolume) bool

func (*BIOSRTMVolume) GetBIOSDirectoryLevel

func (p *BIOSRTMVolume) GetBIOSDirectoryLevel() int8

func (*BIOSRTMVolume) GetPlatformInfo

func (p *BIOSRTMVolume) GetPlatformInfo() *PlatformBindingInfo

func (*BIOSRTMVolume) GetSecurityFeatures

func (p *BIOSRTMVolume) GetSecurityFeatures() *SecurityFeatureVector

func (*BIOSRTMVolume) GetValidationDescription

func (p *BIOSRTMVolume) GetValidationDescription() string

func (*BIOSRTMVolume) GetValidationResult_

func (p *BIOSRTMVolume) GetValidationResult_() Validation

func (*BIOSRTMVolume) IsSetPlatformInfo

func (p *BIOSRTMVolume) IsSetPlatformInfo() bool

func (*BIOSRTMVolume) IsSetSecurityFeatures

func (p *BIOSRTMVolume) IsSetSecurityFeatures() bool

func (*BIOSRTMVolume) Read

func (p *BIOSRTMVolume) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) ReadField1

func (p *BIOSRTMVolume) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) ReadField2

func (p *BIOSRTMVolume) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) ReadField3

func (p *BIOSRTMVolume) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) ReadField4

func (p *BIOSRTMVolume) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) ReadField5

func (p *BIOSRTMVolume) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSRTMVolume) String

func (p *BIOSRTMVolume) String() string

func (*BIOSRTMVolume) Write

func (p *BIOSRTMVolume) Write(ctx context.Context, oprot thrift.TProtocol) error

type CustomReport

type CustomReport struct {
	Items []*BIOSRTMVolume `thrift:"Items,1" db:"Items" json:"Items"`
}

Attributes:

  • Items

func NewCustomReport

func NewCustomReport() *CustomReport

func (*CustomReport) Equals

func (p *CustomReport) Equals(other *CustomReport) bool

func (*CustomReport) GetItems

func (p *CustomReport) GetItems() []*BIOSRTMVolume

func (*CustomReport) Read

func (p *CustomReport) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*CustomReport) ReadField1

func (p *CustomReport) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*CustomReport) String

func (p *CustomReport) String() string

func (*CustomReport) Write

func (p *CustomReport) Write(ctx context.Context, oprot thrift.TProtocol) error

type PlatformBindingInfo

type PlatformBindingInfo struct {
	VendorID        int16 `thrift:"VendorID,1" db:"VendorID" json:"VendorID"`
	KeyRevisionID   int8  `thrift:"KeyRevisionID,2" db:"KeyRevisionID" json:"KeyRevisionID"`
	PlatformModelID int8  `thrift:"PlatformModelID,3" db:"PlatformModelID" json:"PlatformModelID"`
}

Attributes:

  • VendorID
  • KeyRevisionID
  • PlatformModelID
var BIOSRTMVolume_PlatformInfo_DEFAULT *PlatformBindingInfo

func NewPlatformBindingInfo

func NewPlatformBindingInfo() *PlatformBindingInfo

func (*PlatformBindingInfo) Equals

func (p *PlatformBindingInfo) Equals(other *PlatformBindingInfo) bool

func (*PlatformBindingInfo) GetKeyRevisionID

func (p *PlatformBindingInfo) GetKeyRevisionID() int8

func (*PlatformBindingInfo) GetPlatformModelID

func (p *PlatformBindingInfo) GetPlatformModelID() int8

func (*PlatformBindingInfo) GetVendorID

func (p *PlatformBindingInfo) GetVendorID() int16

func (*PlatformBindingInfo) Read

func (*PlatformBindingInfo) ReadField1

func (p *PlatformBindingInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PlatformBindingInfo) ReadField2

func (p *PlatformBindingInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PlatformBindingInfo) ReadField3

func (p *PlatformBindingInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PlatformBindingInfo) String

func (p *PlatformBindingInfo) String() string

func (*PlatformBindingInfo) Write

type SecurityFeatureVector

type SecurityFeatureVector struct {
	DisableBIOSKeyAntiRollback bool `thrift:"DisableBIOSKeyAntiRollback,1" db:"DisableBIOSKeyAntiRollback" json:"DisableBIOSKeyAntiRollback"`
	DisableAMDBIOSKeyUse       bool `thrift:"DisableAMDBIOSKeyUse,2" db:"DisableAMDBIOSKeyUse" json:"DisableAMDBIOSKeyUse"`
	DisableSecureDebugUnlock   bool `thrift:"DisableSecureDebugUnlock,3" db:"DisableSecureDebugUnlock" json:"DisableSecureDebugUnlock"`
}

Attributes:

  • DisableBIOSKeyAntiRollback
  • DisableAMDBIOSKeyUse
  • DisableSecureDebugUnlock
var BIOSRTMVolume_SecurityFeatures_DEFAULT *SecurityFeatureVector

func NewSecurityFeatureVector

func NewSecurityFeatureVector() *SecurityFeatureVector

func (*SecurityFeatureVector) Equals

func (*SecurityFeatureVector) GetDisableAMDBIOSKeyUse

func (p *SecurityFeatureVector) GetDisableAMDBIOSKeyUse() bool

func (*SecurityFeatureVector) GetDisableBIOSKeyAntiRollback

func (p *SecurityFeatureVector) GetDisableBIOSKeyAntiRollback() bool

func (*SecurityFeatureVector) GetDisableSecureDebugUnlock

func (p *SecurityFeatureVector) GetDisableSecureDebugUnlock() bool

func (*SecurityFeatureVector) Read

func (*SecurityFeatureVector) ReadField1

func (p *SecurityFeatureVector) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*SecurityFeatureVector) ReadField2

func (p *SecurityFeatureVector) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*SecurityFeatureVector) ReadField3

func (p *SecurityFeatureVector) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*SecurityFeatureVector) String

func (p *SecurityFeatureVector) String() string

func (*SecurityFeatureVector) Write

type Validation

type Validation int64
const (
	Validation_Unknown              Validation = 0
	Validation_CorrectSignature     Validation = 1
	Validation_RTMVolumeNotFound    Validation = 2
	Validation_RTMSignatureNotFound Validation = 3
	Validation_PSBDisabled          Validation = 5
	Validation_InvalidFormat        Validation = 6
	Validation_IncorrectSignature   Validation = 7
)

func ValidationFromString

func ValidationFromString(s string) (Validation, error)

func ValidationPtr

func ValidationPtr(v Validation) *Validation

func (Validation) MarshalText

func (p Validation) MarshalText() ([]byte, error)

func (*Validation) Scan

func (p *Validation) Scan(value interface{}) error

func (Validation) String

func (p Validation) String() string

func (*Validation) UnmarshalText

func (p *Validation) UnmarshalText(text []byte) error

func (*Validation) Value

func (p *Validation) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL