Greenbone Vulnerability Manager  22.4.0~dev1
lsc_user.h
1 /* Copyright (C) 2009-2022 Greenbone Networks GmbH
2  *
3  * SPDX-License-Identifier: AGPL-3.0-or-later
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as
7  * published by the Free Software Foundation, either version 3 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 /*
20  * @file lsc_user.h
21  * @brief LSC user credentials package generation.
22  */
23 
24 #ifndef _GVMD_LSC_USER_H
25 #define _GVMD_LSC_USER_H
26 
27 #include <glib.h>
28 
29 int
30 lsc_user_keys_create (const gchar *, gchar **);
31 
32 int
33 lsc_user_rpm_recreate (const gchar *, const gchar *,
34  void **, gsize *);
35 
36 int
37 lsc_user_deb_recreate (const gchar *, const char *, const char *,
38  void **, gsize *);
39 
40 int
41 lsc_user_exe_recreate (const gchar *, const gchar *, void **, gsize *);
42 
43 #endif /* not _GVMD_LSC_USER_H */
int lsc_user_deb_recreate(const gchar *name, const char *public_key, const char *maintainer, void **deb, gsize *deb_size)
Recreate DEB package.
Definition: lsc_user.c:487
int lsc_user_keys_create(const gchar *password, gchar **private_key)
Create local security check (LSC) keys.
Definition: lsc_user.c:140
int lsc_user_rpm_recreate(const gchar *name, const char *public_key, void **rpm, gsize *rpm_size)
Recreate RPM package.
Definition: lsc_user.c:296
int lsc_user_exe_recreate(const gchar *name, const gchar *password, void **exe, gsize *exe_size)
Recreate NSIS package.
Definition: lsc_user.c:676