pub struct PinChallenge { /* private fields */ }Expand description
NDNCERT PIN/OTP challenge handler.
Single-round: the client submits { "code": "<pin>" } and the CA checks
the SHA-256 hash against the stored value.
Implementations§
Source§impl PinChallenge
impl PinChallenge
Trait Implementations§
Source§impl ChallengeHandler for PinChallenge
impl ChallengeHandler for PinChallenge
Source§fn challenge_type(&self) -> &'static str
fn challenge_type(&self) -> &'static str
The challenge type identifier (e.g.
"possession", "token", "pin", "email").Auto Trait Implementations§
impl Freeze for PinChallenge
impl RefUnwindSafe for PinChallenge
impl Send for PinChallenge
impl Sync for PinChallenge
impl Unpin for PinChallenge
impl UnwindSafe for PinChallenge
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