[−][src]Struct srp::client::SrpClient
SRP client state before handshake with the server.
Methods
impl<'a, D: Digest> SrpClient<'a, D>
[src]
pub fn new(a: &[u8], params: &'a SrpGroup) -> Self
[src]
Create new SRP client instance.
pub fn get_password_verifier(&self, private_key: &[u8]) -> Vec<u8>
[src]
Get password verfier for user registration on the server
pub fn process_reply(
self,
private_key: &[u8],
b_pub: &[u8]
) -> Result<SrpClientVerifier<D>, SrpAuthError>
[src]
self,
private_key: &[u8],
b_pub: &[u8]
) -> Result<SrpClientVerifier<D>, SrpAuthError>
Process server reply to the handshake.
pub fn get_a_pub(&self) -> Vec<u8>
[src]
Get public ephemeral value for handshaking with the server.
Auto Trait Implementations
impl<'a, D> Send for SrpClient<'a, D> where
D: Send,
D: Send,
impl<'a, D> Sync for SrpClient<'a, D> where
D: Sync,
D: Sync,
impl<'a, D> Unpin for SrpClient<'a, D> where
D: Unpin,
D: Unpin,
impl<'a, D> UnwindSafe for SrpClient<'a, D> where
D: UnwindSafe,
D: UnwindSafe,
impl<'a, D> RefUnwindSafe for SrpClient<'a, D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self