diff --git a/crates/fido-common/src/credential/mod.rs b/crates/fido-common/src/credential/mod.rs index b814f65..c4d15c1 100644 --- a/crates/fido-common/src/credential/mod.rs +++ b/crates/fido-common/src/credential/mod.rs @@ -16,3 +16,15 @@ pub enum Type { #[cfg_attr(feature = "serde", serde(rename = "public-key"))] PublicKey, } + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum BackupState { + BackedUp = 0b0, + NotBackedUp = 0b1, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum BackupEligibility { + Eligible, + Ineligible, +}