Send feedback
Class TpmAttestation (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.10.0 keyboard_arrow_down
public final class TpmAttestation extends GeneratedMessageV3 implements TpmAttestationOrBuilder
TPM2 data containing everything necessary to validate any platform state
measured into the TPM.
Protobuf type google.cloud.confidentialcomputing.v1alpha1.TpmAttestation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
AK_CERT_FIELD_NUMBER
public static final int AK_CERT_FIELD_NUMBER
Field Value Type Description int
CANONICAL_EVENT_LOG_FIELD_NUMBER
public static final int CANONICAL_EVENT_LOG_FIELD_NUMBER
Field Value Type Description int
CERT_CHAIN_FIELD_NUMBER
public static final int CERT_CHAIN_FIELD_NUMBER
Field Value Type Description int
QUOTES_FIELD_NUMBER
public static final int QUOTES_FIELD_NUMBER
Field Value Type Description int
TCG_EVENT_LOG_FIELD_NUMBER
public static final int TCG_EVENT_LOG_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static TpmAttestation getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static TpmAttestation . Builder newBuilder ()
newBuilder(TpmAttestation prototype)
public static TpmAttestation . Builder newBuilder ( TpmAttestation prototype )
public static TpmAttestation parseDelimitedFrom ( InputStream input )
public static TpmAttestation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static TpmAttestation parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TpmAttestation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static TpmAttestation parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TpmAttestation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TpmAttestation parseFrom ( CodedInputStream input )
public static TpmAttestation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TpmAttestation parseFrom ( InputStream input )
public static TpmAttestation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static TpmAttestation parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TpmAttestation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<TpmAttestation> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getAkCert()
public ByteString getAkCert ()
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;
getCanonicalEventLog()
public ByteString getCanonicalEventLog ()
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)
public ByteString getCertChain ( int index )
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()
public int getCertChainCount ()
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()
public List<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()
public TpmAttestation getDefaultInstanceForType ()
getParserForType()
public Parser<TpmAttestation> getParserForType ()
Overrides
getQuotes(int index)
public TpmAttestation . Quote getQuotes ( int index )
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
Parameter Name Description index
int
getQuotesCount()
public int getQuotesCount ()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
Returns Type Description int
getQuotesList()
public List<TpmAttestation . Quote > getQuotesList ()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
getQuotesOrBuilder(int index)
public TpmAttestation . QuoteOrBuilder getQuotesOrBuilder ( int index )
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
Parameter Name Description index
int
getQuotesOrBuilderList()
public List <? extends TpmAttestation . QuoteOrBuilder > getQuotesOrBuilderList ()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
Returns Type Description List <? extends com.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.QuoteOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getTcgEventLog()
public ByteString getTcgEventLog ()
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;
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public TpmAttestation . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TpmAttestation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public TpmAttestation . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]