src/pEpEngine.c
branchENGINE-73
changeset 1005 8e2c8253a385
parent 960 ac6b3f010e34
child 1010 24a4bc80878f
     1.1 --- a/src/pEpEngine.c	Wed Aug 10 16:02:01 2016 +0200
     1.2 +++ b/src/pEpEngine.c	Fri Aug 12 14:15:45 2016 +0200
     1.3 @@ -1234,6 +1234,19 @@
     1.4      return session->cryptotech[PEP_crypt_OpenPGP].find_keys(session, pattern, keylist);
     1.5  }
     1.6  
     1.7 +DYNAMIC_API PEP_STATUS list_key_email_pairs(
     1.8 +        PEP_SESSION session, stringpair_list_t **key_email_list
     1.9 +    )
    1.10 +{
    1.11 +    assert(session);
    1.12 +    assert(key_email_list);
    1.13 +
    1.14 +    if (!(session && key_email_list))
    1.15 +        return PEP_ILLEGAL_VALUE;
    1.16 +
    1.17 +    return session->cryptotech[PEP_crypt_OpenPGP].list_key_email_pairs(session, key_email_list);
    1.18 +}
    1.19 +
    1.20  DYNAMIC_API PEP_STATUS generate_keypair(
    1.21          PEP_SESSION session, pEp_identity *identity
    1.22      )