sendNewKeys method

void sendNewKeys()

Implementation

void sendNewKeys() {
  writeClearOrEncrypted(MSG_NEWKEYS());
  if (state == SSHTransportState.FIRST_KEXREPLY) {
    state = SSHTransportState.FIRST_NEWKEYS;
  } else {
    state = SSHTransportState.NEWKEYS;
  }
}