pub struct CompletedKeyExchange {
pub group: NamedGroup,
pub pub_key: Vec<u8>,
pub secret: SharedSecret,
}
Expand description
The result from SupportedKxGroup::start_and_complete()
.
Fields§
§group: NamedGroup
Which group was used.
pub_key: Vec<u8>
Our key share (sometimes a public key).
secret: SharedSecret
The computed shared secret.
Auto Trait Implementations§
impl Freeze for CompletedKeyExchange
impl RefUnwindSafe for CompletedKeyExchange
impl Send for CompletedKeyExchange
impl Sync for CompletedKeyExchange
impl Unpin for CompletedKeyExchange
impl UnwindSafe for CompletedKeyExchange
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 64 bytes