Mercurial > trustbridge
comparison cinst/nssstore.h @ 302:fac7e1b0e558
Add nss store calling function and use it in cinst
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 03 Apr 2014 14:28:23 +0200 |
parents | |
children | 17e1c8f37d72 |
comparison
equal
deleted
inserted
replaced
301:aec9008c3b30 | 302:fac7e1b0e558 |
---|---|
1 #ifndef NSSSTORE_H | |
2 #define NSSSTORE_H | |
3 /** @file | |
4 * @brief Helper functions controlling the NSS installation process. | |
5 */ | |
6 | |
7 #ifdef __cplusplus | |
8 extern "C" { | |
9 #endif | |
10 | |
11 /** @brief Write into NSS stores | |
12 * | |
13 * Starts the nss installation process for all users | |
14 * we have the right to impersonate and installs / removes | |
15 * the certificates in their stores. | |
16 | |
17 * @param [in] to_install strv of DER encoded certificates to be added. | |
18 * @param [in] to_remove strv of DER encoded certificates to be remvoed. | |
19 * @returns 0 on success an errorcode otherwise. | |
20 */ | |
21 int write_stores_nss (char **to_install, char **to_remove); | |
22 | |
23 #ifdef __cplusplus | |
24 } | |
25 #endif | |
26 | |
27 #endif // NSSSTORE_H |