diff --git a/openpgp-card-sequoia/src/lib.rs b/openpgp-card-sequoia/src/lib.rs index dea3da7..48b8460 100644 --- a/openpgp-card-sequoia/src/lib.rs +++ b/openpgp-card-sequoia/src/lib.rs @@ -539,7 +539,10 @@ impl<'a> Card> { self.state.ard.key_information() } - pub fn uif(&self, key_type: KeyType) -> Result, Error> { + pub fn user_interaction_flag( + &self, + key_type: KeyType, + ) -> Result, Error> { match key_type { KeyType::Signing => self.state.ard.uif_pso_cds(), KeyType::Decryption => self.state.ard.uif_pso_dec(), @@ -929,7 +932,11 @@ impl Card> { self.card().set_pw_status_bytes(pw_status, long) } - pub fn set_uif(&mut self, key: KeyType, policy: TouchPolicy) -> Result<(), Error> { + pub fn set_user_interaction_flag( + &mut self, + key: KeyType, + policy: TouchPolicy, + ) -> Result<(), Error> { let uif = match key { KeyType::Signing => self.state.tx.state.ard.uif_pso_cds()?, KeyType::Decryption => self.state.tx.state.ard.uif_pso_dec()?,