pub enum Method {
Psk(Psk),
Sae(SaeData),
DriverSae(Option<Key>),
}
Variants§
Psk(Psk)
Sae(SaeData)
DriverSae(Option<Key>)
SAE handled in the driver/firmware, so the PMK will just eventually arrive.
Implementations§
Source§impl Method
impl Method
pub fn from_config(cfg: Config) -> Result<Method, AuthError>
pub fn on_eapol_key_frame<B: SplitByteSlice>( &self, _update_sink: &mut UpdateSink, _frame: Dot11VerifiedKeyFrame<B>, ) -> Result<(), AuthError>
Sourcepub fn on_pmk_available(
&mut self,
pmk: &[u8],
pmkid: &[u8],
assoc_update_sink: &mut UpdateSink,
) -> Result<(), AuthError>
pub fn on_pmk_available( &mut self, pmk: &[u8], pmkid: &[u8], assoc_update_sink: &mut UpdateSink, ) -> Result<(), AuthError>
Currently only used so that an SAE handshake managed in firmware can send the PMK upward.
pub fn on_sae_handshake_ind( &mut self, assoc_update_sink: &mut UpdateSink, ) -> Result<(), AuthError>
pub fn on_sae_frame_rx( &mut self, assoc_update_sink: &mut UpdateSink, frame: SaeFrame, ) -> Result<(), AuthError>
pub fn on_sae_timeout( &mut self, assoc_update_sink: &mut UpdateSink, event_id: u64, ) -> Result<(), AuthError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Method
impl !RefUnwindSafe for Method
impl Send for Method
impl !Sync for Method
impl Unpin for Method
impl !UnwindSafe for Method
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