# Functions
FetchAttestation gathers the materials required for remote attestation from TPM.
GetRegion retrieves region information from GCE metadata server.
NewMetadataServer starts and hooks up a Server, serving env.
NewMockAttestationServer creates a mock verifier.
NewMockOauth2Server creates a mock Oauth2 server for testing purpose.
NewRESTClient returns a REST verifier.Client that points to the given address.
PrincipalFetcher fetch ID token with specific audience from Metadata server.
# Constants
FakeChallengeUUID is the challenge for fake attestation server.
FakeTpmNonce is the tpm nonce for fake attestation server.
# Structs
Instance struct for supported fake values for metadata server.
MetadataServer provides fake implementation for the GCE metadata server.
MockAttestationServer provides fake implementation for the GCE attestation server.
MockOauth2Server is a struct for mocking Oauth2Server.
# Type aliases
TpmKeyFetcher abstracts the fetching of various types of Attestation Key from TPM.