MCPcopy
hub / github.com/jtesta/ssh-audit / write

Method write

src/ssh_audit/ssh1_publickeymessage.py:110–120  ·  view source on GitHub ↗
(self, wbuf: 'WriteBuf')

Source from the content-addressed store, hash-verified

108 return auths
109
110 def write(self, wbuf: 'WriteBuf') -> None:
111 wbuf.write(self.cookie)
112 wbuf.write_int(self.server_key_bits)
113 wbuf.write_mpint1(self.server_key_public_exponent)
114 wbuf.write_mpint1(self.server_key_public_modulus)
115 wbuf.write_int(self.host_key_bits)
116 wbuf.write_mpint1(self.host_key_public_exponent)
117 wbuf.write_mpint1(self.host_key_public_modulus)
118 wbuf.write_int(self.protocol_flags)
119 wbuf.write_int(self.supported_ciphers_mask)
120 wbuf.write_int(self.supported_authentications_mask)
121
122 @property
123 def payload(self) -> bytes:

Callers 1

payloadMethod · 0.95

Calls 2

write_intMethod · 0.80
write_mpint1Method · 0.80

Tested by

no test coverage detected