Function rpm_sequoia::_pgpDigParamsUserID
source · [−]#[no_mangle]
pub extern "C" fn _pgpDigParamsUserID(
dig: *const PgpDigParams
) -> *const c_char
Expand description
Returns the primary User ID, if any.
If dig
is a signature, then this returns NULL
.
If dig
is a certificate or a subkey, then this returns the
certificate’s primary User ID, if any.
This interface does not provide a way for the caller to recognize
any embedded NUL
characters.
The caller must not free the returned buffer.