Function sequoia_ffi::openpgp::cert::pgp_cert_merge_public[][src]

#[no_mangle]
pub extern "C" fn pgp_cert_merge_public(
    errp: Option<&mut *mut Error>,
    cert: *mut Cert,
    other: *mut Cert
) -> Maybe<Cert>
Expand description

Merges other into cert, ignoring secret key material in other.

C Declaration

pgp_cert_t
pgp_cert_merge_public (pgp_error_t *errp,
                       pgp_cert_t cert,
                       pgp_cert_t other);

If other is a different key, then nothing is merged into cert, but cert is still canonicalized.

Consumes cert and other.