pub struct SshPacketDhReply<'a> {
pub pubkey_and_cert: &'a [u8],
pub f: &'a [u8],
pub signature: &'a [u8],
}
Expand description
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]
Implementations§
Source§impl<'a> SshPacketDhReply<'a>
impl<'a> SshPacketDhReply<'a>
Sourcepub fn get_ecdsa_signature(&self) -> Result<(&str, Vec<u8>), Err<Error<&[u8]>>>
pub fn get_ecdsa_signature(&self) -> Result<(&str, Vec<u8>), Err<Error<&[u8]>>>
Parse the ECDSA server signature.
Defined in RFC5656 Section 3.1.2.
Trait Implementations§
Source§impl<'a> Debug for SshPacketDhReply<'a>
impl<'a> Debug for SshPacketDhReply<'a>
Source§impl<'a> PartialEq for SshPacketDhReply<'a>
impl<'a> PartialEq for SshPacketDhReply<'a>
impl<'a> StructuralPartialEq for SshPacketDhReply<'a>
Auto Trait Implementations§
impl<'a> Freeze for SshPacketDhReply<'a>
impl<'a> RefUnwindSafe for SshPacketDhReply<'a>
impl<'a> Send for SshPacketDhReply<'a>
impl<'a> Sync for SshPacketDhReply<'a>
impl<'a> Unpin for SshPacketDhReply<'a>
impl<'a> UnwindSafe for SshPacketDhReply<'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