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.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
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.v1.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.v1.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.v1.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.v1.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.v1.TpmAttestation.Quote quotes = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.confidentialcomputing.v1.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;
Returns |
Type |
Description |
ByteString |
The tcgEventLog.
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TpmAttestation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides