pub struct AuCPaceClientRecvServerKey<D, const K1: usize>{ /* private fields */ }Expand description
Client waiting to receive the server’s public key
Implementations§
Source§impl<D, const K1: usize> AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> AuCPaceClientRecvServerKey<D, K1>
Sourcepub fn receive_server_pubkey(
self,
server_pubkey: RistrettoPoint,
) -> Result<(AuCPaceClientExpMutAuth<D, K1>, ClientMessage<'static, K1>)>
pub fn receive_server_pubkey( self, server_pubkey: RistrettoPoint, ) -> Result<(AuCPaceClientExpMutAuth<D, K1>, ClientMessage<'static, K1>)>
Sourcepub fn implicit_auth(self, server_pubkey: RistrettoPoint) -> Result<Output<D>>
pub fn implicit_auth(self, server_pubkey: RistrettoPoint) -> Result<Output<D>>
Allow the user to exit the protocol early in the case of implicit authentication Note: this should only be used in special circumstances and the explicit mutual authentication stage should be used in all other cases
§Arguments:
server_pubkey- the server’s public key
§Return:
sk: the session key reached by the AuCPace protocol
Auto Trait Implementations§
impl<D, const K1: usize> Freeze for AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> RefUnwindSafe for AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> Send for AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> Sync for AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> Unpin for AuCPaceClientRecvServerKey<D, K1>
impl<D, const K1: usize> UnwindSafe for AuCPaceClientRecvServerKey<D, K1>
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