Struct rustls::internal::msgs::handshake::ServerECDHParams [−][src]
pub struct ServerECDHParams { pub curve_params: ECParameters, pub public: PayloadU8, }
Fields
curve_params: ECParameters
public: PayloadU8
Implementations
impl ServerECDHParams
[src]
impl ServerECDHParams
[src]pub fn new(named_group: NamedGroup, pubkey: &[u8]) -> ServerECDHParams
[src]
Trait Implementations
impl Codec for ServerECDHParams
[src]
impl Codec for ServerECDHParams
[src]fn read(r: &mut Reader<'_>) -> Option<ServerECDHParams>
[src]
fn read(r: &mut Reader<'_>) -> Option<ServerECDHParams>
[src]Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]Convenience function to get the results of encode()
.