#[non_exhaustive]pub struct Verification {
pub kind: VerificationKind,
pub ca_id: TrustAnchorId,
pub log_number: u16,
pub entry_index: u64,
pub subtree: Subtree,
pub subtree_hash: [u8; 32],
pub satisfied_cosigners: Vec<TrustAnchorId>,
}Expand description
A successful certificate verification.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: VerificationKindWhich mechanism authenticated the certificate.
ca_id: TrustAnchorIdThe issuing CA’s trust anchor ID.
log_number: u16The issuance log number (from the serial number).
entry_index: u64The entry index within the log (from the serial number).
subtree: SubtreeThe subtree the entry was proven against.
subtree_hash: [u8; 32]The subtree hash computed by inclusion-proof evaluation. For
landmark-relative verifications it equals the matched trusted subtree’s
hash. Tie it to a checkpoint with verify_consistency_proof
if needed.
satisfied_cosigners: Vec<TrustAnchorId>Cosigner IDs whose subtree signatures verified; empty for landmark-relative verifications.
Trait Implementations§
Source§impl Clone for Verification
impl Clone for Verification
Source§impl Debug for Verification
impl Debug for Verification
impl Eq for Verification
Source§impl PartialEq for Verification
impl PartialEq for Verification
impl StructuralPartialEq for Verification
Auto Trait Implementations§
impl Freeze for Verification
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnsafeUnpin for Verification
impl UnwindSafe for Verification
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