Function sequoia_ffi::openpgp::key_amalgamation::pgp_valid_key_amalgamation_set_expiration_time [−][src]
#[no_mangle]
pub extern "C" fn pgp_valid_key_amalgamation_set_expiration_time(
errp: Option<&mut *mut Error>,
ka: *const ValidKeyAmalgamation<'_>,
primary_signer: *mut Box<dyn Signer>,
subkey_signer: Option<&'static mut Box<dyn Signer + 'static>>,
expiry: time_t,
sigs: *mut *mut *mut Signature,
sig_count: *mut size_t
) -> Status
Expand description
Creates one or more self-signatures that when merged with the
C Declaration
pgp_status_t
pgp_valid_key_amalgamation_set_expiration_time (pgp_error_t *errp,
const pgp_valid_key_amalgamation_t ka,
pgp_box_t primary_signer,
const pgp_box_t subkey_signer,
time_t expiry,
pgp_signature_t **sigs,
size_t *sig_count);
certificate cause the key to expire at the specified time.
subkey_signer
must be NULL
when updating the expiration of the
primary key, or updating the expiration of a non-signing capable
subkey. Otherwise, a signer for the subkey must be given.
The returned buffer must be freed using libc’s allocator.