pub struct LockedSeedCipherSecurityQuestions { /* private fields */ }
Expand description
This locked cipher is based on security questions.
Implementations§
source§impl LockedSeedCipherSecurityQuestions
impl LockedSeedCipherSecurityQuestions
sourcepub fn get_question_list(&self) -> &(String, String, String)
pub fn get_question_list(&self) -> &(String, String, String)
List the questions
sourcepub async fn unlock<A>(
self,
answer_list: (A, A, A)
) -> SodokenResult<UnlockedSeedBundle>
pub async fn unlock<A>( self, answer_list: (A, A, A) ) -> SodokenResult<UnlockedSeedBundle>
Decrypt this Cipher into an UnlockedSeedBundle struct.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LockedSeedCipherSecurityQuestions
impl Send for LockedSeedCipherSecurityQuestions
impl Sync for LockedSeedCipherSecurityQuestions
impl Unpin for LockedSeedCipherSecurityQuestions
impl !UnwindSafe for LockedSeedCipherSecurityQuestions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more