Function sequoia_openpgp_ffi::cert::pgp_cert_builder_add_userid[][src]

#[no_mangle]
pub extern "C" fn pgp_cert_builder_add_userid(
    certb: *mut *mut CertBuilder<'_>,
    uid: *const c_char
)
Expand description

Adds a new user ID. The first user ID added replaces the default

C Declaration

void
pgp_cert_builder_add_userid (pgp_cert_builder_t *certb,
                             const char *uid);

ID that is just the empty string.

uid must contain valid UTF-8. If it does not contain valid UTF-8, then the invalid code points are silently replaced with U+FFFD REPLACEMENT CHARACTER.