1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Copyright (C) 2022 KeyBoxen Authors
// SPDX-License-Identifier: GPL-3.0-or-later
//! DBus service module
//!
//! This module deals with [serving the secrets][spec] over the dbus
//! interface.
//!
//! [spec]: https://specifications.freedesktop.org/secret-service/latest/
use HashMap;
/// Service root object
///
/// The singleton DBus object that represents the entire service on
/// the connection. Check [root] module for details.
/// Attribute object
///
/// Lookup attributes are key-value pairs stored by clients and used
/// for searching and identifying items. Refer [attribute] module for
/// more details.
/// Collection object
///
/// A collection is a group of items that is either unlocked with a
/// key stored as an array of bytes, or is locked. Refer [collection]
/// module for more details.
/// Item object
///
/// An item is a container for secrets along with parameters needed to
/// unlock it. The secret is stored on disk in encrypted form.
/// Refer [item] module for more details.
/// DBus Secret
///
/// This data structure represents secrets that are exchanged over
/// DBus. Refer [structure documentation][transaction::DBusSecret] for
/// more details.
pub use DBusSecret;
/// DBus Error
///
/// This data structure represents the errors that may need to be
/// communicated to clients over the DBus connection. Refer [enum
/// documentation][transaction::DBusErrorKind] for more details.
pub use DBusErrorKind;