Struct ssh_parser::ssh::SshPacketDhReply
[−]
[src]
pub struct SshPacketDhReply<'a> { pub pubkey_and_cert: &'a [u8], pub f: &'a [u8], pub signature: &'a [u8], }
SSH Key Exchange Server Packet
Defined in RFC4253 section 8 and errata.
Like the client packet, the fields depend on the algorithm negotiated during the previous packet exchange.
Fields
pubkey_and_cert: &'a [u8]
f: &'a [u8]
signature: &'a [u8]
Methods
impl<'a> SshPacketDhReply<'a>
[src]
fn get_ecdsa_signature(&self) -> Result<(&str, Vec<u8>), IError>
Parse the ECDSA server signature.
Defined in RFC5656 Section 3.1.2.
Trait Implementations
impl<'a> Debug for SshPacketDhReply<'a>
[src]
impl<'a> PartialEq for SshPacketDhReply<'a>
[src]
fn eq(&self, __arg_0: &SshPacketDhReply<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SshPacketDhReply<'a>) -> bool
This method tests for !=
.