core_crypto/e2e_identity/
mod.rs1mod crypto;
2pub(crate) mod device_status;
3mod error;
4pub(crate) mod id;
5pub(crate) mod identity;
6mod pki_env;
7pub(crate) use pki_env::restore_pki_env;
8pub use pki_env::{E2eiDumpedPkiEnv, NewCrlDistributionPoints};
9#[cfg(not(test))]
10mod enrollment;
11#[cfg(test)]
12pub(crate) mod enrollment;
13#[cfg(not(target_family = "wasm"))]
14pub(crate) mod refresh_token;
15pub mod types;
16
17pub use enrollment::E2eiEnrollment;
18pub use error::{Error, Result};
19
20type Json = Vec<u8>;
21
22#[derive(Debug, Clone, Copy, PartialEq, Eq)]
23pub struct CrlRegistration {
25 pub dirty: bool,
27 pub expiration: Option<u64>,
29}
30
31pub(crate) type EnrollmentHandle = Vec<u8>;