core_crypto/e2e_identity/
mod.rs

1mod crypto;
2pub(crate) mod device_status;
3#[cfg(not(test))]
4mod enrollment;
5#[cfg(test)]
6pub(crate) mod enrollment;
7mod error;
8pub(crate) mod id;
9pub(crate) mod identity;
10pub mod types;
11
12pub use enrollment::E2eiEnrollment;
13pub use error::{Error, Result};
14
15type Json = Vec<u8>;
16
17pub use wire_e2e_identity::pki_env::NewCrlDistributionPoints;
18
19#[derive(Debug, Clone, Copy, PartialEq, Eq)]
20/// Supporting struct for CRL registration result
21pub struct CrlRegistration {
22    /// Whether this CRL modifies the old CRL (i.e. has a different revocated cert list)
23    pub dirty: bool,
24    /// Optional expiration timestamp
25    pub expiration: Option<u64>,
26}