#[no_mangle]
pub extern "C" fn _pgpDigParamsAlgo(
    dig: *const PgpDigParams,
    algotype: c_uint
) -> c_uint
Expand description

Returns the object’s public key or algorithm algorithm.

algotype is either PGPVAL_PUBKEYALGO or PGPVAL_HASHALGO. Other algo types are not support and cause this function to return 0.