riot_sys::bindgen

Function cose_signature_decode_kid

Source
pub unsafe extern "C" fn cose_signature_decode_kid(
    signature: *const cose_signature_dec_t,
    kid: *mut *const u8,
) -> c_long
Expand description

Get the key ID from a signature

@param signature Signature decode context @param[out] kid Pointer to the key ID

@return Size of the key ID @return 0 in case of no key ID