pub mod adobe;
pub mod ereader;
pub mod error;
pub mod ignoble;
pub mod kindle;
pub mod kobo;
pub mod pid;
pub use error::KeyError;
pub type Result<T> = std::result::Result<T, KeyError>;
#[derive(Debug, Default, Clone)]
pub struct KeyStore {
pub pids: Vec<String>,
pub serials: Vec<String>,
pub adept_keys: Vec<Vec<u8>>,
pub bandn_keys: Vec<String>,
pub ereader_keys: Vec<[u8; 8]>,
pub kobo_keys: Vec<[u8; 16]>,
pub kobo_db: Option<Vec<u8>>,
pub kobo_volumeid: Option<String>,
pub kindle_dbs: Vec<kindle::KindleDb>,
}
impl KeyStore {
pub fn new() -> Self {
Self::default()
}
}