pub struct PbkdfParamRequest {
pub initiator_random: [u8; 32],
pub initiator_session_id: SessionId,
pub passcode_id: u16,
pub has_pbkdf_parameters: bool,
pub session_params: Option<SessionParams>,
}Available on crate feature
rustcrypto only.Expand description
pbkdfparamreq-struct (§4.14.1.2).
Fields§
§initiator_random: [u8; 32]InitiatorRandom — 32 octets from a DRBG.
initiator_session_id: SessionIdThe session id the initiator will listen on.
passcode_id: u16Which verifier to use; always PASSCODE_ID_COMMISSIONING today.
has_pbkdf_parameters: boolWhether the initiator already knows the salt and iteration count — from a QR code, typically. When true, “the responder SHALL NOT return the PBKDF parameters”.
session_params: Option<SessionParams>The initiator’s MRP parameters, if it sent them.
Implementations§
Trait Implementations§
Source§impl Clone for PbkdfParamRequest
impl Clone for PbkdfParamRequest
Source§impl Debug for PbkdfParamRequest
impl Debug for PbkdfParamRequest
impl Eq for PbkdfParamRequest
Source§impl PartialEq for PbkdfParamRequest
impl PartialEq for PbkdfParamRequest
impl StructuralPartialEq for PbkdfParamRequest
Auto Trait Implementations§
impl Forget for PbkdfParamRequest
impl Freeze for PbkdfParamRequest
impl Move for PbkdfParamRequest
impl RefUnwindSafe for PbkdfParamRequest
impl Send for PbkdfParamRequest
impl Sync for PbkdfParamRequest
impl Unpin for PbkdfParamRequest
impl UnsafeUnpin for PbkdfParamRequest
impl UnwindSafe for PbkdfParamRequest
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