pub struct ChallengeRequestTlv {
pub request_id: [u8; 8],
pub selected_challenge: String,
pub iv: [u8; 12],
pub encrypted_payload: Bytes,
pub auth_tag: [u8; 16],
}Expand description
TLV-encoded CHALLENGE request (encrypted).
The parameters field from Phase 1B is replaced by an AES-GCM-128
ciphertext. The plaintext is the JSON-encoded parameters map.
Fields§
§request_id: [u8; 8]8-byte request identifier (must match NewResponse).
selected_challenge: StringSelected challenge type name.
iv: [u8; 12]12-byte AES-GCM initialization vector.
encrypted_payload: BytesAES-GCM-128 ciphertext of the JSON parameters.
auth_tag: [u8; 16]16-byte AES-GCM authentication tag.
Implementations§
Auto Trait Implementations§
impl !Freeze for ChallengeRequestTlv
impl RefUnwindSafe for ChallengeRequestTlv
impl Send for ChallengeRequestTlv
impl Sync for ChallengeRequestTlv
impl Unpin for ChallengeRequestTlv
impl UnwindSafe for ChallengeRequestTlv
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