struct Ciphers {
tx: SecurityContext,
rx: SecurityContext,
}Expand description
The two directional ciphering contexts of a secured session. Each direction has its own initialization-vector stream: outbound APDUs use the client’s system-title and invocation counter, inbound APDUs the server’s. The service-specific glo-ciphering APDU does not carry the originator title, so both titles must be known out of band (from the AARQ/AARE exchange).
Fields§
§tx: SecurityContextProtects outbound requests (client system-title, client counter).
rx: SecurityContextRemoves protection from inbound responses (server system-title).
Auto Trait Implementations§
impl Freeze for Ciphers
impl RefUnwindSafe for Ciphers
impl Send for Ciphers
impl Sync for Ciphers
impl Unpin for Ciphers
impl UnsafeUnpin for Ciphers
impl UnwindSafe for Ciphers
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