Enum rustls::internal::msgs::handshake::ServerKeyExchangePayload [−][src]
pub enum ServerKeyExchangePayload {
ECDHE(ECDHEServerKeyExchange),
Unknown(Payload),
}
Variants
ECDHE(ECDHEServerKeyExchange)
Tuple Fields
Unknown(Payload)
Tuple Fields
0: Payload
Implementations
pub fn unwrap_given_kxa(
&self,
kxa: &KeyExchangeAlgorithm
) -> Option<ServerKeyExchangePayload>
Trait Implementations
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode()
.