pub fn validate_key_binding(
binding: KeyBindingInput<'_>,
parsed: &ParsedMultikey,
) -> Result<(), MultikeyError>Expand description
Validates that a binding’s type and algorithm agree with a parsed key.
Fails closed: returns an error on a type/codec mismatch, an algorithm mismatch, or a missing required algorithm.