aheinecke@404: /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik aheinecke@404: * Software engineering by Intevation GmbH aheinecke@404: * aheinecke@404: * This file is Free Software under the GNU GPL (v>=2) aheinecke@404: * and comes with ABSOLUTELY NO WARRANTY! aheinecke@404: * See LICENSE.txt for details. aheinecke@404: */ andre@302: #ifndef NSSSTORE_H andre@302: #define NSSSTORE_H andre@302: /** @file andre@302: * @brief Helper functions controlling the NSS installation process. andre@302: */ andre@302: andre@302: #ifdef __cplusplus andre@302: extern "C" { andre@302: #endif andre@302: andre@302: /** @brief Write into NSS stores andre@302: * andre@302: * Starts the nss installation process for all users andre@302: * we have the right to impersonate and installs / removes andre@302: * the certificates in their stores. andre@302: andre@302: * @param [in] to_install strv of DER encoded certificates to be added. andre@302: * @param [in] to_remove strv of DER encoded certificates to be remvoed. andre@302: * @returns 0 on success an errorcode otherwise. andre@302: */ andre@302: int write_stores_nss (char **to_install, char **to_remove); andre@302: andre@302: #ifdef __cplusplus andre@302: } andre@302: #endif andre@302: andre@302: #endif // NSSSTORE_H