openpgp_ca_lib/types.rs
1// Copyright 2019-2022 Heiko Schaefer <heiko@schaefer.name>
2//
3// This file is part of OpenPGP CA
4// https://gitlab.com/openpgp-ca/openpgp-ca
5//
6// SPDX-FileCopyrightText: 2019-2022 Heiko Schaefer <heiko@schaefer.name>
7// SPDX-License-Identifier: GPL-3.0-or-later
8
9//! OpenPGP CA data types.
10
11use sequoia_openpgp::packet::UserID;
12
13/// Models which User IDs of a Cert have (or have not) been certified by a CA
14pub struct CertificationStatus {
15 pub certified: Vec<UserID>,
16 pub uncertified: Vec<UserID>,
17}