Struct rustls::crypto::CompletedKeyExchange
source · 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