blob: fa5ff34ca82a22f0a07fc3a16ff1d6ca7398c8b4 [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
10#include <appstream-glib.h>
11
12#include "fu-keyring.h"
13#include "fwupd-enums.h"
14
15FuKeyring *fu_keyring_create_for_kind (FwupdKeyringKind kind,
16 GError **error);
17gboolean fu_keyring_get_release_trust_flags (AsRelease *release,
18 FwupdTrustFlags *trust_flags,
19 GError **error);
20
21#endif /* __FU_KEYRING_UTILS_H__ */