deltachat::pgp

Function create_keypair

source
pub(crate) fn create_keypair(
    addr: EmailAddress,
    keygen_type: KeyGenType,
) -> Result<KeyPair>
Expand description

Create a new key pair.

Both secret and public key consist of signing primary key and encryption subkey as described in the Autocrypt standard.