Package dev.sigstore.rekor.client
Interface RekorEntry
-
@TypeAdapters @Immutable public interface RekorEntryA local representation of a rekor entry in the log.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRekorEntry.Checkpointstatic interfaceRekorEntry.CheckpointSignaturestatic interfaceRekorEntry.InclusionProofInclusion proof to allow verification that the entry is truly part of the Rekor merkle tree.static interfaceRekorEntry.VerificationA class representing verification information for a log entry.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetBody()Returns the content of the log entry.default RekorEntryBodygetBodyDecoded()Returns a decodedRekorEntryBodyof the log entry.longgetIntegratedTime()Returns the time the entry was integrated into the log.default java.time.InstantgetIntegratedTimeInstant()java.lang.StringgetLogID()Returns the sha256 of the log's public key.longgetLogIndex()Returns the index in the log of this entry.default byte[]getSignableContent()Returns canonicalized json representing the signable contents of a rekor entry.RekorEntry.VerificationgetVerification()Returns the verification material for this entry.
-
-
-
Method Detail
-
getBody
java.lang.String getBody()
Returns the content of the log entry.
-
getBodyDecoded
@Derived default RekorEntryBody getBodyDecoded()
Returns a decodedRekorEntryBodyof the log entry. UseRekorTypesto further process.
-
getSignableContent
default byte[] getSignableContent()
Returns canonicalized json representing the signable contents of a rekor entry.
-
getIntegratedTime
long getIntegratedTime()
Returns the time the entry was integrated into the log.
-
getIntegratedTimeInstant
@Derived @Ignore default java.time.Instant getIntegratedTimeInstant()
-
getLogID
java.lang.String getLogID()
Returns the sha256 of the log's public key. Should be the same for all entries into this log.
-
getLogIndex
long getLogIndex()
Returns the index in the log of this entry.
-
getVerification
RekorEntry.Verification getVerification()
Returns the verification material for this entry.
-
-