alpm_sys

Function alpm_extract_keyid

Source
pub unsafe extern "C" fn alpm_extract_keyid(
    handle: *mut alpm_handle_t,
    identifier: *const c_char,
    sig: *const c_uchar,
    len: usize,
    keys: *mut *mut alpm_list_t,
) -> c_int
Expand description

Extract the Issuer Key ID from a signature @param handle the context handle @param identifier the identifier of the key. This may be the name of the package or the path to the package. @param sig PGP signature @param len length of signature @param keys a pointer to storage for key IDs @return 0 on success, -1 on error