pub unsafe extern "C" fn cose_signature_decode_unprotected(
signature: *const cose_signature_dec_t,
hdr: *mut cose_hdr_t,
key: i32,
) -> c_int
Expand description
Retrieve an unprotected header from a signature object by key lookup
@param signature The signature decode object to operate on @param[out] hdr Header to fill with the values @param key The key to look up
@return COSE_OK if a header is found @return COSE_ERR_NOT_FOUND if no header with matching key is found