Package dev.sigstore.proto.rekor.v1
Interface TransparencyLogEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransparencyLogEntry,TransparencyLogEntry.Builder
public interface TransparencyLogEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetCanonicalizedBody()Optional.InclusionPromisegetInclusionPromise()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.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.KindVersionOrBuildergetKindVersionOrBuilder()The kind (type) and version of the object associated with this entry.LogIdgetLogId()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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLogIndex
long getLogIndex()
The global index of the entry, used when querying the log by index.
int64 log_index = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The logIndex.
-
hasLogId
boolean hasLogId()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the logId field is set.
-
getLogId
LogId getLogId()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The logId.
-
getLogIdOrBuilder
LogIdOrBuilder getLogIdOrBuilder()
The unique identifier of the log.
.dev.sigstore.common.v1.LogId log_id = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasKindVersion
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];- Returns:
- Whether the kindVersion field is set.
-
getKindVersion
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];- Returns:
- The kindVersion.
-
getKindVersionOrBuilder
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];
-
getIntegratedTime
long getIntegratedTime()
The UNIX timestamp from the log when the entry was persisted.
int64 integrated_time = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The integratedTime.
-
hasInclusionPromise
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;- Returns:
- Whether the inclusionPromise field is set.
-
getInclusionPromise
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;- Returns:
- The inclusionPromise.
-
getInclusionPromiseOrBuilder
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;
-
hasInclusionProof
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];- Returns:
- Whether the inclusionProof field is set.
-
getInclusionProof
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];- Returns:
- The inclusionProof.
-
getInclusionProofOrBuilder
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];
-
getCanonicalizedBody
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;- Returns:
- The canonicalizedBody.
-
-