Struct rubble::security::PairingRequest [−][src]
#[repr(C)]struct PairingRequest {
io: Field<u8, IoCapabilities>,
oob: Field<u8, Oob>,
auth_req: Field<u8, AuthReq>,
max_keysize: u8,
initiator_dist: Field<u8, KeyDistribution>,
responder_dist: Field<u8, KeyDistribution>,
}
Fields
io: Field<u8, IoCapabilities>
The I/O capabilities of the initiator.
oob: Field<u8, Oob>
Whether the initiator has OOB pairing data available.
auth_req: Field<u8, AuthReq>
Initiator authentication requirements.
max_keysize: u8
Maximum supported encryption key size in range 7..=16 Bytes.
For BLE, this is always 16, since it always uses AES-128-CCM (even with the broken LE Legacy Pairing). We consider anything smaller than 16 to be as insecure as a plain text connection.
initiator_dist: Field<u8, KeyDistribution>
Set of keys the initiator (the device sending this request) wants to distribute to the responder (the device receiving this request).
responder_dist: Field<u8, KeyDistribution>
Set of keys the initiator requests the responder to generate and distribute.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PairingRequest
impl Send for PairingRequest
impl Sync for PairingRequest
impl Unpin for PairingRequest
impl UnwindSafe for PairingRequest
Blanket Implementations
Mutably borrows from an owned value. Read more