Class TpmAttestation (0.53.0)

publicfinalclass TpmAttestationextendsGeneratedMessageV3implementsTpmAttestationOrBuilder

TPM2 data containing everything necessary to validate any platform state measured into the TPM.

Protobuf type google.cloud.confidentialcomputing.v1.TpmAttestation

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

AK_CERT_FIELD_NUMBER

publicstaticfinalintAK_CERT_FIELD_NUMBER
Field Value
Type Description
int

CANONICAL_EVENT_LOG_FIELD_NUMBER

publicstaticfinalintCANONICAL_EVENT_LOG_FIELD_NUMBER
Field Value
Type Description
int

CERT_CHAIN_FIELD_NUMBER

publicstaticfinalintCERT_CHAIN_FIELD_NUMBER
Field Value
Type Description
int

QUOTES_FIELD_NUMBER

publicstaticfinalintQUOTES_FIELD_NUMBER
Field Value
Type Description
int

TCG_EVENT_LOG_FIELD_NUMBER

publicstaticfinalintTCG_EVENT_LOG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticTpmAttestationgetDefaultInstance()
Returns
Type Description
TpmAttestation

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticTpmAttestation.BuildernewBuilder()
Returns
Type Description
TpmAttestation.Builder

newBuilder(TpmAttestation prototype)

publicstaticTpmAttestation.BuildernewBuilder(TpmAttestationprototype)
Parameter
Name Description
prototype TpmAttestation
Returns
Type Description
TpmAttestation.Builder

parseDelimitedFrom(InputStream input)

publicstaticTpmAttestationparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticTpmAttestationparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticTpmAttestationparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticTpmAttestationparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticTpmAttestationparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticTpmAttestationparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticTpmAttestationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TpmAttestation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<TpmAttestation>parser()
Returns
Type Description
Parser<TpmAttestation>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAkCert()

publicByteStringgetAkCert()

DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.

bytes ak_cert = 4;

Returns
Type Description
ByteString

The akCert.

getCanonicalEventLog()

publicByteStringgetCanonicalEventLog()

An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the "Canonical Event Log Format" TCG Specification.

bytes canonical_event_log = 3;

Returns
Type Description
ByteString

The canonicalEventLog.

getCertChain(int index)

publicByteStringgetCertChain(intindex)

List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

repeated bytes cert_chain = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ByteString

The certChain at the given index.

getCertChainCount()

publicintgetCertChainCount()

List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

repeated bytes cert_chain = 5;

Returns
Type Description
int

The count of certChain.

getCertChainList()

publicList<ByteString>getCertChainList()

List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

repeated bytes cert_chain = 5;

Returns
Type Description
List<ByteString>

A list containing the certChain.

getDefaultInstanceForType()

publicTpmAttestationgetDefaultInstanceForType()
Returns
Type Description
TpmAttestation

getParserForType()

publicParser<TpmAttestation>getParserForType()
Returns
Type Description
Parser<TpmAttestation>
Overrides

getQuotes(int index)

publicTpmAttestation.QuotegetQuotes(intindex)

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;

Parameter
Name Description
index int
Returns
Type Description
TpmAttestation.Quote

getQuotesCount()

publicintgetQuotesCount()

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;

Returns
Type Description
int

getQuotesList()

publicList<TpmAttestation.Quote>getQuotesList()

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;

Returns
Type Description
List<Quote>

getQuotesOrBuilder(int index)

publicTpmAttestation.QuoteOrBuildergetQuotesOrBuilder(intindex)

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;

Parameter
Name Description
index int
Returns
Type Description
TpmAttestation.QuoteOrBuilder

getQuotesOrBuilderList()

publicList<?extendsTpmAttestation.QuoteOrBuilder>getQuotesOrBuilderList()

TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;

Returns
Type Description
List<? extends com.google.cloud.confidentialcomputing.v1.TpmAttestation.QuoteOrBuilder>

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getTcgEventLog()

publicByteStringgetTcgEventLog()

The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the "TCG PC Client Platform Firmware Profile Specification".

bytes tcg_event_log = 2;

Returns
Type Description
ByteString

The tcgEventLog.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicTpmAttestation.BuildernewBuilderForType()
Returns
Type Description
TpmAttestation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedTpmAttestation.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TpmAttestation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicTpmAttestation.BuildertoBuilder()
Returns
Type Description
TpmAttestation.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.