phpseclib/phpseclib/Net/SSH2/MessageTypeExtra.php
2022-07-08 08:37:58 -05:00

27 lines
617 B
PHP

<?php
declare(strict_types=1);
namespace phpseclib3\Net\SSH2;
/**
* @internal
*/
abstract class MessageTypeExtra
{
// RFC 4419 - diffie-hellman-group-exchange-sha{1,256}
public const KEXDH_GEX_REQUEST_OLD = 30;
public const KEXDH_GEX_GROUP = 31;
public const KEXDH_GEX_INIT = 32;
public const KEXDH_GEX_REPLY = 33;
public const KEXDH_GEX_REQUEST = 34;
// RFC 5656 - Elliptic Curves (for curve25519-sha256@libssh.org)
public const KEX_ECDH_INIT = 30;
public const KEX_ECDH_REPLY = 31;
public const USERAUTH_PASSWD_CHANGEREQ = 60;
public const USERAUTH_PK_OK = 60;
}