pub struct ServerStep4Params<'p> {
pub server_private_b: &'p [u8],
pub stored_verifier: &'p [u8],
pub client_public_a: &'p [u8],
pub client_proof: &'p [u8],
}
Expand description
Parameters for step 4
Step 4 verifies the client proof.
Fields§
§server_private_b: &'p [u8]
The server’s private ephemeral key generated in step 2
stored_verifier: &'p [u8]
The verifier stored for the user during user registration
client_public_a: &'p [u8]
The client’s public key received as part of step 2
client_proof: &'p [u8]
The client’s proof
Verifying the client proof is a prerequesite for sending any encrypted data (including the server proof) to the client. Not verifying the client proof may enable brute force attacks on the user credentials.
Trait Implementations§
Source§impl<'p> Clone for ServerStep4Params<'p>
impl<'p> Clone for ServerStep4Params<'p>
Source§fn clone(&self) -> ServerStep4Params<'p>
fn clone(&self) -> ServerStep4Params<'p>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'p> Debug for ServerStep4Params<'p>
impl<'p> Debug for ServerStep4Params<'p>
Auto Trait Implementations§
impl<'p> Freeze for ServerStep4Params<'p>
impl<'p> RefUnwindSafe for ServerStep4Params<'p>
impl<'p> Send for ServerStep4Params<'p>
impl<'p> Sync for ServerStep4Params<'p>
impl<'p> Unpin for ServerStep4Params<'p>
impl<'p> UnwindSafe for ServerStep4Params<'p>
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