ClientOweHandshake

Trait ClientOweHandshake 

Source
pub trait ClientOweHandshake: Send {
    // Required methods
    fn initiate_owe(&mut self, sink: &mut OweUpdateSink) -> Result<(), Error>;
    fn handle_public_key(
        &mut self,
        sink: &mut OweUpdateSink,
        group: u16,
        peer_public_key: Vec<u8>,
    ) -> Result<(), Error>;
}
Expand description

IEEE 8021.11-2024, 12.14: Opportunistic Wireless Encryption

An OWE handshake occurs during a association between a client and an AP. The client initiates the handshake by generating a public/private key pair and sending its public key to the AP. The AP then also generates a own public/private key pair and responds with its own public key. Both parties then compute a shared secret and derive the Pairwise Master Key (PMK) from it.

Required Methods§

Source

fn initiate_owe(&mut self, sink: &mut OweUpdateSink) -> Result<(), Error>

Initiate OWE by generating a public/private key pair and putting the public key in the update sink.

Source

fn handle_public_key( &mut self, sink: &mut OweUpdateSink, group: u16, peer_public_key: Vec<u8>, ) -> Result<(), Error>

Handle the received public key from the AP and compute the shared secret. A PMK is derived and put in the update sink.

Implementors§