Richard Hughes | 02c90d8 | 2018-08-09 12:13:03 +0100 | [diff] [blame] | 1 | /* |
Richard Hughes | 7383ce2 | 2018-05-08 14:14:35 +0100 | [diff] [blame] | 2 | * Copyright (C) 2017-2018 Richard Hughes <richard@hughsie.com> |
| 3 | * |
Mario Limonciello | 51308e6 | 2018-05-28 20:05:46 -0500 | [diff] [blame] | 4 | * SPDX-License-Identifier: LGPL-2.1+ |
Richard Hughes | 7383ce2 | 2018-05-08 14:14:35 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __FU_KEYRING_UTILS_H__ |
| 8 | #define __FU_KEYRING_UTILS_H__ |
| 9 | |
Richard Hughes | 481aa2a | 2018-09-18 20:51:46 +0100 | [diff] [blame^] | 10 | #include <xmlb.h> |
Richard Hughes | 7383ce2 | 2018-05-08 14:14:35 +0100 | [diff] [blame] | 11 | |
| 12 | #include "fu-keyring.h" |
| 13 | #include "fwupd-enums.h" |
| 14 | |
| 15 | FuKeyring *fu_keyring_create_for_kind (FwupdKeyringKind kind, |
| 16 | GError **error); |
Richard Hughes | 481aa2a | 2018-09-18 20:51:46 +0100 | [diff] [blame^] | 17 | gboolean fu_keyring_get_release_trust_flags (XbNode *release, |
Richard Hughes | 7383ce2 | 2018-05-08 14:14:35 +0100 | [diff] [blame] | 18 | FwupdTrustFlags *trust_flags, |
| 19 | GError **error); |
| 20 | |
| 21 | #endif /* __FU_KEYRING_UTILS_H__ */ |