pub async fn verify_segment_authenticated(
store: &ArchiveStore,
partition: &TopicIdPartition,
segment: &SegmentInventory,
objects: &BTreeMap<String, ObjectEntry>,
) -> Result<VerifiedSegment, RestoreError>Expand description
Fetch and verify one segment against signed WORM object claims.
ยงErrors
Returns RestoreError::Authenticity when an artifact is absent from the
authenticated manifest set or the bytes fetched now differ from its signed
size or digest. Other failures are the same as verify_segment.