pub unsafe extern "C" fn cose_key_protected_to_map(
    key: *const cose_key_t,
    map: *mut nanocbor_encoder_t
)
Expand description

Add the protected headers to the provided CBOR map

@param key The key object @param map The cbor encoder map object to add headers to

@return 0 on success @return Negative on error