pub struct SignedChainOutcome {
pub report: Report,
pub active_pubkey: VerifyingKey,
}Expand description
Outcome of verify_signed_chain over a JSONL file.
Wraps the regular Report (hash-chain failures, decode failures,
orphan failures) and adds the active operator key observed at the
end of the walk. Useful for callers that want to keep verifying after
a clean rotation by chaining the next batch under the new key.
Fields§
§report: ReportPer-row failures (Ed25519 + hash-chain).
active_pubkey: VerifyingKeyOperator public key in effect after the last row was processed.
On a clean walk with one or more identity.rotate events this is
the most recent authorized new_pubkey. On an empty file or a
file that begins with rejected rotations, this is the starting
key passed into verify_signed_chain.
Trait Implementations§
Source§impl Clone for SignedChainOutcome
impl Clone for SignedChainOutcome
Source§fn clone(&self) -> SignedChainOutcome
fn clone(&self) -> SignedChainOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SignedChainOutcome
impl RefUnwindSafe for SignedChainOutcome
impl Send for SignedChainOutcome
impl Sync for SignedChainOutcome
impl Unpin for SignedChainOutcome
impl UnsafeUnpin for SignedChainOutcome
impl UnwindSafe for SignedChainOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more