deltachat::key

Function preconfigure_keypair

source
pub async fn preconfigure_keypair(
    context: &Context,
    secret_data: &str,
) -> Result<()>
Expand description

Saves a keypair as the default keys.

This API is used for testing purposes to avoid generating the key in tests. Use import/export APIs instead.