Class TpmAttestation.Builder (0.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.64.0 (latest)
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.54.0
- 0.53.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
publicstaticfinalclass TpmAttestation.BuilderextendsGeneratedMessageV3.Builder<TpmAttestation.Builder>implementsTpmAttestationOrBuilderTPM2 data containing everything necessary to validate any platform state measured into the TPM.
Protobuf type google.cloud.confidentialcomputing.v1.TpmAttestation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TpmAttestation.BuilderImplements
TpmAttestationOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCertChain(Iterable<? extends ByteString> values)
publicTpmAttestation.BuilderaddAllCertChain(Iterable<?extendsByteString>values)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 |
values |
Iterable<? extends com.google.protobuf.ByteString>The certChain to add. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
addAllQuotes(Iterable<? extends TpmAttestation.Quote> values)
publicTpmAttestation.BuilderaddAllQuotes(Iterable<?extendsTpmAttestation.Quote>values)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.confidentialcomputing.v1.TpmAttestation.Quote> |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
addCertChain(ByteString value)
publicTpmAttestation.BuilderaddCertChain(ByteStringvalue)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 |
value |
ByteString The certChain to add. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
addQuotes(TpmAttestation.Quote value)
publicTpmAttestation.BuilderaddQuotes(TpmAttestation.Quotevalue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TpmAttestation.Quote |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
addQuotes(TpmAttestation.Quote.Builder builderForValue)
publicTpmAttestation.BuilderaddQuotes(TpmAttestation.Quote.BuilderbuilderForValue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TpmAttestation.Quote.Builder |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
addQuotes(int index, TpmAttestation.Quote value)
publicTpmAttestation.BuilderaddQuotes(intindex,TpmAttestation.Quotevalue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
TpmAttestation.Quote |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
addQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
publicTpmAttestation.BuilderaddQuotes(intindex,TpmAttestation.Quote.BuilderbuilderForValue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
TpmAttestation.Quote.Builder |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
addQuotesBuilder()
publicTpmAttestation.Quote.BuilderaddQuotesBuilder()TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Quote.Builder |
|
addQuotesBuilder(int index)
publicTpmAttestation.Quote.BuilderaddQuotesBuilder(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.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTpmAttestation.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
build()
publicTpmAttestationbuild()| Returns | |
|---|---|
| Type | Description |
TpmAttestation |
|
buildPartial()
publicTpmAttestationbuildPartial()| Returns | |
|---|---|
| Type | Description |
TpmAttestation |
|
clear()
publicTpmAttestation.Builderclear()| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
clearAkCert()
publicTpmAttestation.BuilderclearAkCert()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 |
TpmAttestation.Builder |
This builder for chaining. |
clearCanonicalEventLog()
publicTpmAttestation.BuilderclearCanonicalEventLog()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 |
TpmAttestation.Builder |
This builder for chaining. |
clearCertChain()
publicTpmAttestation.BuilderclearCertChain()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 |
TpmAttestation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicTpmAttestation.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicTpmAttestation.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
clearQuotes()
publicTpmAttestation.BuilderclearQuotes()TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
clearTcgEventLog()
publicTpmAttestation.BuilderclearTcgEventLog()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 |
TpmAttestation.Builder |
This builder for chaining. |
clone()
publicTpmAttestation.Builderclone()| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
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 |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getQuotesBuilder(int index)
publicTpmAttestation.Quote.BuildergetQuotesBuilder(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.Builder |
|
getQuotesBuilderList()
publicList<TpmAttestation.Quote.Builder>getQuotesBuilderList()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<Builder> |
|
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> |
|
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. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TpmAttestation other)
publicTpmAttestation.BuildermergeFrom(TpmAttestationother)| Parameter | |
|---|---|
| Name | Description |
other |
TpmAttestation |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicTpmAttestation.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicTpmAttestation.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTpmAttestation.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
removeQuotes(int index)
publicTpmAttestation.BuilderremoveQuotes(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.Builder |
|
setAkCert(ByteString value)
publicTpmAttestation.BuildersetAkCert(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The akCert to set. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
setCanonicalEventLog(ByteString value)
publicTpmAttestation.BuildersetCanonicalEventLog(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The canonicalEventLog to set. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
setCertChain(int index, ByteString value)
publicTpmAttestation.BuildersetCertChain(intindex,ByteStringvalue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
ByteString The certChain to set. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicTpmAttestation.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
setQuotes(int index, TpmAttestation.Quote value)
publicTpmAttestation.BuildersetQuotes(intindex,TpmAttestation.Quotevalue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
TpmAttestation.Quote |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
setQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
publicTpmAttestation.BuildersetQuotes(intindex,TpmAttestation.Quote.BuilderbuilderForValue)TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1.TpmAttestation.Quote quotes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
TpmAttestation.Quote.Builder |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTpmAttestation.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|
setTcgEventLog(ByteString value)
publicTpmAttestation.BuildersetTcgEventLog(ByteStringvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The tcgEventLog to set. |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTpmAttestation.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TpmAttestation.Builder |
|