Skip to main content

verify_connect_binding

Function verify_connect_binding 

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

Checks binding against the identity key as carried, under profile, and the CONNECT key as carried, at now_ms with 5 minutes of tolerance.