Skip to main content

verify_tls_binding

Function verify_tls_binding 

Source
pub fn verify_tls_binding(
    binding: &SignedTbs,
    identity_key: &[u8],
    profile: Profile,
    leaf_der: &[u8],
    now_ms: i64,
) -> Result<BindingInfo, BindingError>
Expand description

Checks binding against the identity key as carried, under profile, and the leaf certificate this connection presented, at now_ms with 5 minutes of tolerance.