Skip to main content

peek_kid_alg

Function peek_kid_alg 

pub fn peek_kid_alg(cose_sign1_bytes: &[u8]) -> Result<(Vec<u8>, i64), Error>
Expand description

Inspect a COSE_Sign1 without verifying it, returning (kid_bytes, alg_int).

Used by receivers to dispatch a verifier from a key registry.