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
// Copyright 2020 Contributors to the Parsec project.
// SPDX-License-Identifier: Apache-2.0

use crate::{
    handles::KeyHandle,
    structures::{CreationData, CreationTicket, Digest, Private, Public},
};

#[allow(missing_debug_implementations)]
pub struct CreateKeyResult {
    pub out_private: Private,
    pub out_public: Public,
    pub creation_data: CreationData,
    pub creation_hash: Digest,
    pub creation_ticket: CreationTicket,
}

#[allow(missing_debug_implementations)]
pub struct CreatePrimaryKeyResult {
    pub key_handle: KeyHandle,
    pub out_public: Public,
    pub creation_data: CreationData,
    pub creation_hash: Digest,
    pub creation_ticket: CreationTicket,
}