[−][src]Struct srp::client::SrpClientVerifier
SRP client state after handshake with the server.
Implementations
impl<D: Digest> SrpClientVerifier<D>
[src]
pub fn get_key(self) -> Output<D>
[src]
Get shared secret key without authenticating server, e.g. for using with authenticated encryption modes. DO NOT USE this method without some kind of secure authentication
pub fn get_proof(&self) -> Output<D>
[src]
Verification data for sending to the server.
pub fn verify_server(self, reply: &[u8]) -> Result<Output<D>, SrpAuthError>
[src]
Verify server reply to verification data. It will return shared secret key in case of success.
Auto Trait Implementations
impl<D> RefUnwindSafe for SrpClientVerifier<D> where
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<D> Send for SrpClientVerifier<D> where
<D as Digest>::OutputSize: ArrayLength<u8>,
<D as Digest>::OutputSize: ArrayLength<u8>,
impl<D> Sync for SrpClientVerifier<D> where
<D as Digest>::OutputSize: ArrayLength<u8>,
<D as Digest>::OutputSize: ArrayLength<u8>,
impl<D> Unpin for SrpClientVerifier<D> where
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: Unpin,
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<D> UnwindSafe for SrpClientVerifier<D> where
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
<<D as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,