/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast <fejj@ximian.com> * * Copyright 2001 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #ifndef CAMEL_PKCS7_CONTEXT_H #define CAMEL_PKCS7_CONTEXT_H #include <camel/camel-session.h> #include <camel/camel-stream.h> #include <camel/camel-exception.h> #include <camel/camel-cipher-context.h> #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define CAMEL_PKCS7_CONTEXT_TYPE (camel_pkcs7_context_get_type ()) #define CAMEL_PKCS7_CONTEXT(obj) (CAMEL_CHECK_CAST((obj), CAMEL_PKCS7_CONTEXT_TYPE, CamelPkcs7Context)) #define CAMEL_PKCS7_CONTEXT_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_PKCS7_CONTEXT_TYPE, CamelPkcs7ContextClass)) #define CAMEL_IS_PKCS7_CONTEXT(o) (CAMEL_CHECK_TYPE((o), CAMEL_PKCS7_CONTEXT_TYPE)) typedef struct _CamelPkcs7Context { CamelCipherContext parent_object; struct _CamelPkcs7ContextPrivate *priv; } CamelPkcs7Context; typedef struct _CamelPkcs7ContextClass { CamelCipherContextClass parent_class; } CamelPkcs7ContextClass; CamelType camel_pkcs7_context_get_type (void); CamelPkcs7Context *camel_pkcs7_context_new (CamelSession *session, const char *certdb_path); /* PKCS7 routines */ #define camel_pkcs7_sign(c, u, h, i, o, e) camel_cipher_sign (CAMEL_CIPHER_CONTEXT (c), u, h, i, o, e) #define camel_pkcs7_clearsign(c, u, h, i, o, e) camel_cipher_clearsign (CAMEL_CIPHER_CONTEXT (c), u, h, i, o, e) #define camel_pkcs7_verify(c, i, s, e) camel_cipher_verify (CAMEL_CIPHER_CONTEXT (c), i, s, e) #define camel_pkcs7_encrypt(c, s, u, r, i, o, e) camel_cipher_encrypt (CAMEL_CIPHER_CONTEXT (c), s, u, r, i, o, e) #define camel_pkcs7_decrypt(c, i, o, e) camel_cipher_decrypt (CAMEL_CIPHER_CONTEXT (c), i, o, e) #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_PKCS7_CONTEXT_H */ s/minimist-1.2.3</option> <option value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1</option> <option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2</option> <option value='dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option> <option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option> <option value='gnome-3.22'>gnome-3.22</option> <option value='gnome-3.24' selected='selected'>gnome-3.24</option> <option value='gnome-3.26'>gnome-3.26</option> <option value='gnome-3.28'>gnome-3.28</option> <option value='gnome-3.32'>gnome-3.32</option> <option value='gnome-3.36'>gnome-3.36</option> <option value='gstreamer'>gstreamer</option> <option value='gstreamer-1.16'>gstreamer-1.16</option> <option value='gstreamer0.10-removal'>gstreamer0.10-removal</option> <option value='main'>main</option> <option value='master'>master</option> <option value='mate-1.16'>mate-1.16</option> <option value='mate-1.18'>mate-1.18</option> <option value='mate-1.20'>mate-1.20</option> <option value='mate-1.22'>mate-1.22</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table> <table class='tabs'><tr><td> <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=gnome-3.24'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=gnome-3.24'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/print/foo2zjs?h=gnome-3.24'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/print/foo2zjs?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/print/foo2zjs?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/print/foo2zjs?h=gnome-3.24'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/print/foo2zjs'> <input type='hidden' name='h' value='gnome-3.24'/><input type='hidden' name='id' value='0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/print?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>print</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/print/foo2zjs?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3'>foo2zjs</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/print/foo2zjs?h=gnome-3.24&id=0c0546e468f5dbd80d2403a9ac070e7c6ac398f3&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=59db24470011bcac9721eae3229e602dc9d678ce'>- Update to 20070120</a></td><td>acm</td><td><span title='2007-01-25 21:56:51 +0800'>2007-01-25</span></td><td>2</td><td><span class='deletions'>-5</span>/<span class='insertions'>+6</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=aa2cace31bd257cef97b72fdd231381c10473260'>- Update to 20070108</a></td><td>acm</td><td><span title='2007-01-14 01:36:27 +0800'>2007-01-14</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=27b60b55b49107ea719f9aa5b24c0d2020fc843a'>- Update to 20061224</a></td><td>acm</td><td><span title='2006-12-27 06:29:39 +0800'>2006-12-27</span></td><td>3</td><td><span class='deletions'>-6</span>/<span class='insertions'>+5</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=9cf4d2d76d710b74eacc9d49289efc9ff81df510'>Mark BROKEN: fails to fetch.</a></td><td>linimon</td><td><span title='2006-12-27 06:05:24 +0800'>2006-12-27</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+2</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=d9f2309da51a2959065828d6e7bdaacb329620fe'>- Update to 20061212</a></td><td>acm</td><td><span title='2006-12-16 23:57:45 +0800'>2006-12-16</span></td><td>4</td><td><span class='deletions'>-8</span>/<span class='insertions'>+16</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=7a39e81c5662b2f3e0f50a70e9554233b29472e4'>- Update to 20061010</a></td><td>acm</td><td><span title='2006-10-20 01:31:03 +0800'>2006-10-20</span></td><td>5</td><td><span class='deletions'>-8</span>/<span class='insertions'>+164</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=f84bb84188e4f54aaed222769005ca53872e1dfe'>- Update to 20061004</a></td><td>acm</td><td><span title='2006-10-09 06:35:59 +0800'>2006-10-09</span></td><td>3</td><td><span class='deletions'>-17</span>/<span class='insertions'>+15</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=b761f74955cf2afe509ef12858a4eab80b28cc38'>- Update to 20060919</a></td><td>acm</td><td><span title='2006-09-25 00:22:38 +0800'>2006-09-25</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=ecffd4f6a47f5e995bb8a246a7db256f7c92cb1e'>- Update to 20060911</a></td><td>acm</td><td><span title='2006-09-13 00:56:48 +0800'>2006-09-13</span></td><td>3</td><td><span class='deletions'>-5</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=e2fec709cb60ed9948479559904797468853f148'>- Update to 20060822</a></td><td>acm</td><td><span title='2006-09-06 09:58:20 +0800'>2006-09-06</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=11b3534878930eb37cf25bfe76343e181aafa076'>- Update to 20060804</a></td><td>acm</td><td><span title='2006-08-05 23:58:44 +0800'>2006-08-05</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=9f7e17b47443cfc90e9c426d36b206427d24645d'>Change maintainer address to my @FreeBSD.org email</a></td><td>acm</td><td><span title='2006-07-23 10:45:24 +0800'>2006-07-23</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=aeea29419dfaa41f392221f2a682127591c9efbb'>- - Update to 20060625</a></td><td>clsung</td><td><span title='2006-07-14 08:20:17 +0800'>2006-07-14</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=7a25a91ecce9e62199d68ec12a16004e6c904c26'>Distfile rerolled, for the third time in 48 hours (small comments changed)</a></td><td>itetcu</td><td><span title='2006-06-24 03:05:23 +0800'>2006-06-24</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=1706c6fae224ce7da8b641dc71c0b501a7a1e878'>- update to current release</a></td><td>itetcu</td><td><span title='2006-06-23 15:43:13 +0800'>2006-06-23</span></td><td>3</td><td><span class='deletions'>-18</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=00a2838937d0e9284bc767bac096fafaff6fc713'>- Update to 20060607</a></td><td>pav</td><td><span title='2006-06-09 16:36:58 +0800'>2006-06-09</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+4</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/print/foo2zjs?h=gnome-3.24&id=2c10b23db7f2a4645d85c28c3ec2ff0e52623e1a'>- Update to 20060603</a></td><td>pav</td><td><span title='2006-06-05 21:01:46 +0800'>2006-06-05</span></td><td>6</td><td><span class='deletions'>-24</span>/<span class='insertions'>+74</span></td></tr>