package
0.5.1
Repository: https://github.com/google/go-attestation.git
Documentation: pkg.go.dev

# Packages

Binary attest-tool performs attestation operations on the local system.

# Functions

AppendEvents takes a series of TPM 2.0 event logs and combines them into a single sequence of events with a single header.
AvailableTPMs returns information about available TPMs matching the given config, without opening the devices.
InjectSimulatedTPMForTest returns a fake TPM that interfaces with the provided simulated TPM.
NewActivateOpts creates options for use in generating an activation challenge for a certified key.
OpenTPM initializes access to the TPM based on the config provided.
ParseAKPublic parses the Public blob from the AttestationParameters, returning the public key and signing parameters for the key.
ParseEKCertificate parses a raw DER encoded EK certificate blob.
ParseEventLog parses an unverified measurement log.
ParseSecurebootState parses a series of events to determine the configuration of secure boot on a device.
ParseWinEvents parses a series of events to extract information about the bringup of Microsoft Windows.

# Constants

Valid BitlockerStatus values.
Valid BitlockerStatus values.
Valid BitlockerStatus values.
Valid BitlockerStatus values.
Valid BitlockerStatus values.
Valid BitlockerStatus values.
Algorithm types supported.
Algorithm types supported.
Valid Ternary values.
Valid Ternary values.
Valid Ternary values.
TPM interfaces.
TPM interfaces.
TPM interfaces.
TPM interfaces.
TPM versions.
TPM versions.
TPM versions.
Valid CSP Algorithm IDs.
Valid CSP Algorithm IDs.
Valid CSP Algorithm IDs.
Valid CSP Algorithm IDs.
Valid CSP Algorithm IDs.
Valid CSP Algorithm IDs.

# Variables

ErrTPM12NotImplemented is returned in response to methods which need to interact with the TPM1.2 device in ways that have not yet been implemented.
ErrTPMNotAvailable is returned in response to OpenTPM() when either no TPM is available, or a TPM of the requested version is not available (if TPMVersion was set in the provided config).
Valid hash algorithms.
Valid hash algorithms.

# Structs

ActivateOpts specifies options for the key certification's challenge generation.
ActivationParameters encapsulates the inputs for activating an AK.
AK represents a key which can be used for attestation.
AKConfig encapsulates parameters for minting keys.
AKPublic holds structured information about an AK's public key.
AttestationParameters describes information about a key which is necessary for verifying its properties remotely.
CertificationParameters encapsulates the inputs for certifying an application key.
EK is a burned-in endorcement key bound to a TPM.
EncryptedCredential represents encrypted parameters which must be activated against a key.
Event is a single event from a TCG event log.
EventLog is a parsed measurement log.
Key represents a key which can be used for signing and decrypting outside-TPM objects.
KeyConfig encapsulates parameters for minting keys.
OpenConfig encapsulates settings passed to OpenTPM().
ParentKeyConfig describes the Storage Root Key that is used as a parent for new keys.
PCR encapsulates the value of a PCR at a point in time.
PlatformAttestConfig configures how attestations are generated through tpm.AttestPlatform().
PlatformParameters encapsulates the set of information necessary to attest the booted state of the machine the TPM is attached to.
Quote encapsulates the results of a Quote operation against the TPM, using an attestation key.
ReplayError describes the parsed events that failed to verify against a particular PCR.
SecurebootState describes the secure boot status of a machine, as determined by processing its event log.
TPM interfaces with a TPM device on the system.
TPMInfo contains information about the version & interface of an open TPM.
VerifyOpts specifies options for the key certification's verification.
WinELAM describes the configuration of an Early Launch AntiMalware driver.
WinEvents describes information from the event log recorded during bootup of Microsoft Windows.
WinModuleLoad describes a module which was loaded while Windows booted.

# Interfaces

CommandChannelTPM20 represents a pipe along which TPM 2.0 commands can be issued, and measurement logs read.

# Type aliases

Algorithm indicates an asymmetric algorithm to be used.
BitlockerStatus describes the status of BitLocker on a Windows system.
DriverLoadSource describes the logical origin of a boot services driver.
EventType indicates what kind of data an event is reporting.
HashAlg identifies a hashing Algorithm.
TCGVendorID represents a unique TCG manufacturer code.
Ternary describes a boolean value that can additionally be unknown.
TPMInterface indicates how the client communicates with the TPM.
TPMVersion is used to configure a preference in which TPM to use, if multiple are available.