Package dev.sigstore.proto.rekor.v1
Class TransparencyLogEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder>
-
- dev.sigstore.proto.rekor.v1.TransparencyLogEntry.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransparencyLogEntryOrBuilder,java.lang.Cloneable
- Enclosing class:
- TransparencyLogEntry
public static final class TransparencyLogEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder> implements TransparencyLogEntryOrBuilder
TransparencyLogEntry captures all the details required from Rekor to reconstruct an entry, given that the payload is provided via other means. This type can easily be created from the existing response from Rekor. Future iterations could rely on Rekor returning the minimal set of attributes (excluding the payload) that are required for verifying the inclusion promise. The inclusion promise (called SignedEntryTimestamp in the response from Rekor) is similar to a Signed Certificate Timestamp as described here https://www.rfc-editor.org/rfc/rfc6962.html#section-3.2.
Protobuf typedev.sigstore.rekor.v1.TransparencyLogEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransparencyLogEntrybuild()TransparencyLogEntrybuildPartial()TransparencyLogEntry.Builderclear()TransparencyLogEntry.BuilderclearCanonicalizedBody()Optional.TransparencyLogEntry.BuilderclearInclusionPromise()The inclusion promise/signed entry timestamp from the log.TransparencyLogEntry.BuilderclearInclusionProof()The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.TransparencyLogEntry.BuilderclearIntegratedTime()The UNIX timestamp from the log when the entry was persisted.TransparencyLogEntry.BuilderclearKindVersion()The kind (type) and version of the object associated with this entry.TransparencyLogEntry.BuilderclearLogId()The unique identifier of the log.TransparencyLogEntry.BuilderclearLogIndex()The global index of the entry, used when querying the log by index.com.google.protobuf.ByteStringgetCanonicalizedBody()Optional.TransparencyLogEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InclusionPromisegetInclusionPromise()The inclusion promise/signed entry timestamp from the log.InclusionPromise.BuildergetInclusionPromiseBuilder()The inclusion promise/signed entry timestamp from the log.InclusionPromiseOrBuildergetInclusionPromiseOrBuilder()The inclusion promise/signed entry timestamp from the log.InclusionProofgetInclusionProof()The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.InclusionProof.BuildergetInclusionProofBuilder()The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.InclusionProofOrBuildergetInclusionProofOrBuilder()The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.longgetIntegratedTime()The UNIX timestamp from the log when the entry was persisted.KindVersiongetKindVersion()The kind (type) and version of the object associated with this entry.KindVersion.BuildergetKindVersionBuilder()The kind (type) and version of the object associated with this entry.KindVersionOrBuildergetKindVersionOrBuilder()The kind (type) and version of the object associated with this entry.LogIdgetLogId()The unique identifier of the log.LogId.BuildergetLogIdBuilder()The unique identifier of the log.LogIdOrBuildergetLogIdOrBuilder()The unique identifier of the log.longgetLogIndex()The global index of the entry, used when querying the log by index.booleanhasInclusionPromise()The inclusion promise/signed entry timestamp from the log.booleanhasInclusionProof()The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.booleanhasKindVersion()The kind (type) and version of the object associated with this entry.booleanhasLogId()The unique identifier of the log.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransparencyLogEntry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransparencyLogEntry.BuildermergeFrom(com.google.protobuf.Message other)TransparencyLogEntry.BuildermergeFrom(TransparencyLogEntry other)TransparencyLogEntry.BuildermergeInclusionPromise(InclusionPromise value)The inclusion promise/signed entry timestamp from the log.TransparencyLogEntry.BuildermergeInclusionProof(InclusionProof value)The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.TransparencyLogEntry.BuildermergeKindVersion(KindVersion value)The kind (type) and version of the object associated with this entry.TransparencyLogEntry.BuildermergeLogId(LogId value)The unique identifier of the log.TransparencyLogEntry.BuildersetCanonicalizedBody(com.google.protobuf.ByteString value)Optional.TransparencyLogEntry.BuildersetInclusionPromise(InclusionPromise value)The inclusion promise/signed entry timestamp from the log.TransparencyLogEntry.BuildersetInclusionPromise(InclusionPromise.Builder builderForValue)The inclusion promise/signed entry timestamp from the log.TransparencyLogEntry.BuildersetInclusionProof(InclusionProof value)The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.TransparencyLogEntry.BuildersetInclusionProof(InclusionProof.Builder builderForValue)The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.TransparencyLogEntry.BuildersetIntegratedTime(long value)The UNIX timestamp from the log when the entry was persisted.TransparencyLogEntry.BuildersetKindVersion(KindVersion value)The kind (type) and version of the object associated with this entry.TransparencyLogEntry.BuildersetKindVersion(KindVersion.Builder builderForValue)The kind (type) and version of the object associated with this entry.TransparencyLogEntry.BuildersetLogId(LogId value)The unique identifier of the log.TransparencyLogEntry.BuildersetLogId(LogId.Builder builderForValue)The unique identifier of the log.TransparencyLogEntry.BuildersetLogIndex(long value)The global index of the entry, used when querying the log by index.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder>
-
clear
public TransparencyLogEntry.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder>
-
getDefaultInstanceForType
public TransparencyLogEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransparencyLogEntry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransparencyLogEntry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public TransparencyLogEntry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransparencyLogEntry.Builder>
-
mergeFrom
public TransparencyLogEntry.Builder mergeFrom(TransparencyLogEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransparencyLogEntry.Builder>
-
mergeFrom
public TransparencyLogEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransparencyLogEntry.Builder>- Throws:
java.io.IOException
-
getLogIndex
public long getLogIndex()
The global index of the entry, used when querying the log by index.
int64 log_index = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLogIndexin interfaceTransparencyLogEntryOrBuilder- Returns:
- The logIndex.
-
setLogIndex
public TransparencyLogEntry.Builder setLogIndex(long value)
The global index of the entry, used when querying the log by index.
int64 log_index = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The logIndex to set.- Returns:
- This builder for chaining.
-
clearLogIndex
public TransparencyLogEntry.Builder clearLogIndex()
The global index of the entry, used when querying the log by index.
int64 log_index = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasLogId
public boolean hasLogId()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasLogIdin interfaceTransparencyLogEntryOrBuilder- Returns:
- Whether the logId field is set.
-
getLogId
public LogId getLogId()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLogIdin interfaceTransparencyLogEntryOrBuilder- Returns:
- The logId.
-
setLogId
public TransparencyLogEntry.Builder setLogId(LogId value)
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
setLogId
public TransparencyLogEntry.Builder setLogId(LogId.Builder builderForValue)
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergeLogId
public TransparencyLogEntry.Builder mergeLogId(LogId value)
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearLogId
public TransparencyLogEntry.Builder clearLogId()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
getLogIdBuilder
public LogId.Builder getLogIdBuilder()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
getLogIdOrBuilder
public LogIdOrBuilder getLogIdOrBuilder()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLogIdOrBuilderin interfaceTransparencyLogEntryOrBuilder
-
hasKindVersion
public boolean hasKindVersion()
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasKindVersionin interfaceTransparencyLogEntryOrBuilder- Returns:
- Whether the kindVersion field is set.
-
getKindVersion
public KindVersion getKindVersion()
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKindVersionin interfaceTransparencyLogEntryOrBuilder- Returns:
- The kindVersion.
-
setKindVersion
public TransparencyLogEntry.Builder setKindVersion(KindVersion value)
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];
-
setKindVersion
public TransparencyLogEntry.Builder setKindVersion(KindVersion.Builder builderForValue)
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeKindVersion
public TransparencyLogEntry.Builder mergeKindVersion(KindVersion value)
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearKindVersion
public TransparencyLogEntry.Builder clearKindVersion()
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];
-
getKindVersionBuilder
public KindVersion.Builder getKindVersionBuilder()
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];
-
getKindVersionOrBuilder
public KindVersionOrBuilder getKindVersionOrBuilder()
The kind (type) and version of the object associated with this entry. These values are required to construct the entry during verification.
.dev.sigstore.rekor.v1.KindVersion kind_version = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKindVersionOrBuilderin interfaceTransparencyLogEntryOrBuilder
-
getIntegratedTime
public long getIntegratedTime()
The UNIX timestamp from the log when the entry was persisted.
int64 integrated_time = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIntegratedTimein interfaceTransparencyLogEntryOrBuilder- Returns:
- The integratedTime.
-
setIntegratedTime
public TransparencyLogEntry.Builder setIntegratedTime(long value)
The UNIX timestamp from the log when the entry was persisted.
int64 integrated_time = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The integratedTime to set.- Returns:
- This builder for chaining.
-
clearIntegratedTime
public TransparencyLogEntry.Builder clearIntegratedTime()
The UNIX timestamp from the log when the entry was persisted.
int64 integrated_time = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasInclusionPromise
public boolean hasInclusionPromise()
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;- Specified by:
hasInclusionPromisein interfaceTransparencyLogEntryOrBuilder- Returns:
- Whether the inclusionPromise field is set.
-
getInclusionPromise
public InclusionPromise getInclusionPromise()
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;- Specified by:
getInclusionPromisein interfaceTransparencyLogEntryOrBuilder- Returns:
- The inclusionPromise.
-
setInclusionPromise
public TransparencyLogEntry.Builder setInclusionPromise(InclusionPromise value)
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;
-
setInclusionPromise
public TransparencyLogEntry.Builder setInclusionPromise(InclusionPromise.Builder builderForValue)
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;
-
mergeInclusionPromise
public TransparencyLogEntry.Builder mergeInclusionPromise(InclusionPromise value)
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;
-
clearInclusionPromise
public TransparencyLogEntry.Builder clearInclusionPromise()
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;
-
getInclusionPromiseBuilder
public InclusionPromise.Builder getInclusionPromiseBuilder()
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;
-
getInclusionPromiseOrBuilder
public InclusionPromiseOrBuilder getInclusionPromiseOrBuilder()
The inclusion promise/signed entry timestamp from the log. Required for v0.1 bundles, and MUST be verified. Optional for >= v0.2 bundles, and SHOULD be verified when present. Also may be used as a signed timestamp.
.dev.sigstore.rekor.v1.InclusionPromise inclusion_promise = 5;- Specified by:
getInclusionPromiseOrBuilderin interfaceTransparencyLogEntryOrBuilder
-
hasInclusionProof
public boolean hasInclusionProof()
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInclusionProofin interfaceTransparencyLogEntryOrBuilder- Returns:
- Whether the inclusionProof field is set.
-
getInclusionProof
public InclusionProof getInclusionProof()
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInclusionProofin interfaceTransparencyLogEntryOrBuilder- Returns:
- The inclusionProof.
-
setInclusionProof
public TransparencyLogEntry.Builder setInclusionProof(InclusionProof value)
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];
-
setInclusionProof
public TransparencyLogEntry.Builder setInclusionProof(InclusionProof.Builder builderForValue)
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];
-
mergeInclusionProof
public TransparencyLogEntry.Builder mergeInclusionProof(InclusionProof value)
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];
-
clearInclusionProof
public TransparencyLogEntry.Builder clearInclusionProof()
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];
-
getInclusionProofBuilder
public InclusionProof.Builder getInclusionProofBuilder()
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];
-
getInclusionProofOrBuilder
public InclusionProofOrBuilder getInclusionProofOrBuilder()
The inclusion proof can be used for offline or online verification that the entry was appended to the log, and that the log has not been altered.
.dev.sigstore.rekor.v1.InclusionProof inclusion_proof = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInclusionProofOrBuilderin interfaceTransparencyLogEntryOrBuilder
-
getCanonicalizedBody
public com.google.protobuf.ByteString getCanonicalizedBody()
Optional. The canonicalized transparency log entry, used to reconstruct the Signed Entry Timestamp (SET) during verification. The contents of this field are the same as the `body` field in a Rekor response, meaning that it does **not** include the "full" canonicalized form (of log index, ID, etc.) which are exposed as separate fields. The verifier is responsible for combining the `canonicalized_body`, `log_index`, `log_id`, and `integrated_time` into the payload that the SET's signature is generated over. This field is intended to be used in cases where the SET cannot be produced determinisitically (e.g. inconsistent JSON field ordering, differing whitespace, etc). If set, clients MUST verify that the signature referenced in the `canonicalized_body` matches the signature provided in the `Bundle.content`. If not set, clients are responsible for constructing an equivalent payload from other sources to verify the signature.
bytes canonicalized_body = 7;- Specified by:
getCanonicalizedBodyin interfaceTransparencyLogEntryOrBuilder- Returns:
- The canonicalizedBody.
-
setCanonicalizedBody
public TransparencyLogEntry.Builder setCanonicalizedBody(com.google.protobuf.ByteString value)
Optional. The canonicalized transparency log entry, used to reconstruct the Signed Entry Timestamp (SET) during verification. The contents of this field are the same as the `body` field in a Rekor response, meaning that it does **not** include the "full" canonicalized form (of log index, ID, etc.) which are exposed as separate fields. The verifier is responsible for combining the `canonicalized_body`, `log_index`, `log_id`, and `integrated_time` into the payload that the SET's signature is generated over. This field is intended to be used in cases where the SET cannot be produced determinisitically (e.g. inconsistent JSON field ordering, differing whitespace, etc). If set, clients MUST verify that the signature referenced in the `canonicalized_body` matches the signature provided in the `Bundle.content`. If not set, clients are responsible for constructing an equivalent payload from other sources to verify the signature.
bytes canonicalized_body = 7;- Parameters:
value- The canonicalizedBody to set.- Returns:
- This builder for chaining.
-
clearCanonicalizedBody
public TransparencyLogEntry.Builder clearCanonicalizedBody()
Optional. The canonicalized transparency log entry, used to reconstruct the Signed Entry Timestamp (SET) during verification. The contents of this field are the same as the `body` field in a Rekor response, meaning that it does **not** include the "full" canonicalized form (of log index, ID, etc.) which are exposed as separate fields. The verifier is responsible for combining the `canonicalized_body`, `log_index`, `log_id`, and `integrated_time` into the payload that the SET's signature is generated over. This field is intended to be used in cases where the SET cannot be produced determinisitically (e.g. inconsistent JSON field ordering, differing whitespace, etc). If set, clients MUST verify that the signature referenced in the `canonicalized_body` matches the signature provided in the `Bundle.content`. If not set, clients are responsible for constructing an equivalent payload from other sources to verify the signature.
bytes canonicalized_body = 7;- Returns:
- This builder for chaining.
-
-