pub struct ServerDHParams<'a> {
pub dh_p: &'a [u8],
pub dh_g: &'a [u8],
pub dh_ys: &'a [u8],
}
Expand description
Diffie-Hellman parameters, defined in [RFC5246] section 7.4.3
Fields§
§dh_p: &'a [u8]
The prime modulus used for the Diffie-Hellman operation.
dh_g: &'a [u8]
The generator used for the Diffie-Hellman operation.
dh_ys: &'a [u8]
The server’s Diffie-Hellman public value (g^X mod p).
Trait Implementations§
Source§impl<'a> Debug for ServerDHParams<'a>
impl<'a> Debug for ServerDHParams<'a>
Source§impl<'a, 'nom> Parse<&'nom [u8]> for ServerDHParams<'a>where
'nom: 'a,
impl<'a, 'nom> Parse<&'nom [u8]> for ServerDHParams<'a>where
'nom: 'a,
Source§impl<'a> PartialEq for ServerDHParams<'a>
impl<'a> PartialEq for ServerDHParams<'a>
impl<'a> StructuralPartialEq for ServerDHParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServerDHParams<'a>
impl<'a> RefUnwindSafe for ServerDHParams<'a>
impl<'a> Send for ServerDHParams<'a>
impl<'a> Sync for ServerDHParams<'a>
impl<'a> Unpin for ServerDHParams<'a>
impl<'a> UnwindSafe for ServerDHParams<'a>
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