Function sequoia_openpgp_ffi::cert::pgp_cert_valid_key_iter_for_storage_encryption[][src]

#[no_mangle]
pub extern "C" fn pgp_cert_valid_key_iter_for_storage_encryption<'a>(
    iter_wrapper: *mut ValidKeyAmalgamationIterWrapper<'a>
)
Expand description

Changes the iterator to only return keys that are capable of

C Declaration

void
pgp_cert_valid_key_iter_for_storage_encryption (pgp_valid_key_amalgamation_iter_wrapper_t iter_wrapper);

encrypting data at rest.

If you call this function and, e.g., the for_signing function, the union of the values is used. That is, the iterator will return keys that are certification capable or signing capable.

Note: you may not call this function after starting to iterate.