#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_verifier_verify(
verifier: *mut PamojaMavlinkVerifier,
frame: *const PamojaMavlinkFrame,
) -> PamojaStatusExpand description
Checks a frame’s signature and its place in the timestamp sequence.
§Arguments
verifier- the verifier to use.frame- the frame to check.
§Returns
PamojaStatus::Ok if the frame is authentic and not a replay.
§Errors
Returns PamojaStatus::InvalidArgument if either pointer is null, and
PamojaStatus::Auth if the frame is unsigned, the signature does not match
the key, or the timestamp has been seen before.
§Safety
verifier must be a live verifier handle and frame must be a live frame
handle.