src/pEpEngine.h
branchENGINE-74
changeset 1397 0a64816a6e37
parent 1391 2979c93f1c5b
child 1429 86c0e9def29c
     1.1 --- a/src/pEpEngine.h	Mon Nov 14 13:32:35 2016 +0100
     1.2 +++ b/src/pEpEngine.h	Tue Nov 15 18:16:58 2016 +0100
     1.3 @@ -185,6 +185,10 @@
     1.4  //        session (in)    session handle
     1.5  //        ctext (in)      cipher text to decrypt and/or verify
     1.6  //        csize (in)      size of cipher text
     1.7 +//        dsigtext (in)   if extant, *detached* signature text for this
     1.8 +//                        message (or NULL if not)
     1.9 +//        dsize (in)      size of *detached* signature text for this
    1.10 +//                        message (0, if no detached sig exists)
    1.11  //        ptext (out)     pointer to internal buffer with plain text
    1.12  //        psize (out)     size of plain text
    1.13  //        keylist (out)   list of key ids which where used to encrypt
    1.14 @@ -208,6 +212,7 @@
    1.15  
    1.16  DYNAMIC_API PEP_STATUS decrypt_and_verify(
    1.17          PEP_SESSION session, const char *ctext, size_t csize,
    1.18 +        const char *dsigtext, size_t dsigsize,
    1.19          char **ptext, size_t *psize, stringlist_t **keylist
    1.20      );
    1.21