blob: 43551b010893c392f4c23bdb0fe868175b83fe5e [file] [log] [blame]
Richard Hughes02c90d82018-08-09 12:13:03 +01001/*
Richard Hughes7383ce22018-05-08 14:14:35 +01002 * Copyright (C) 2017-2018 Richard Hughes <richard@hughsie.com>
3 *
Mario Limonciello51308e62018-05-28 20:05:46 -05004 * SPDX-License-Identifier: LGPL-2.1+
Richard Hughes7383ce22018-05-08 14:14:35 +01005 */
6
7#ifndef __FU_KEYRING_UTILS_H__
8#define __FU_KEYRING_UTILS_H__
9
Richard Hughes481aa2a2018-09-18 20:51:46 +010010#include <xmlb.h>
Richard Hughes7383ce22018-05-08 14:14:35 +010011
12#include "fu-keyring.h"
13#include "fwupd-enums.h"
14
15FuKeyring *fu_keyring_create_for_kind (FwupdKeyringKind kind,
16 GError **error);
Richard Hughes481aa2a2018-09-18 20:51:46 +010017gboolean fu_keyring_get_release_trust_flags (XbNode *release,
Richard Hughes7383ce22018-05-08 14:14:35 +010018 FwupdTrustFlags *trust_flags,
19 GError **error);
20
21#endif /* __FU_KEYRING_UTILS_H__ */