Skip to main content

verify_inline

Function verify_inline 

Source
pub fn verify_inline(
    stream: &str,
    bytes: &[u8],
    seal: Option<&Seal>,
    key: Option<&PublicKey>,
    expected_session: Option<&str>,
) -> StreamReport
Expand description

Checks an inline-chained stream’s bytes against its seal.

expected_session is the session the record belongs to; a seal signed for another session is changed.