Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Get the SSHAuthMethod for an integer value
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
UNKNOWN
Constant: 0x00 = 0
PASSWORD
Constant: 0x02 = 2
PUBLIC_KEY
Constant: 0x03 = 3
HOST_BASED
Constant: 0x04 = 4
RHOSTS
Constant: 0x05 = 5
RHOSTS_RSA
Constant: 0x06 = 6
KEYB_INT
Constant: 0x08 = 8
CHAL_RESP
Constant: 0x09 = 9
CNTL_SOCK1
Constant: 0x0A = 10
GSSAPI_MIC
Constant: 0x0B = 11
GSSAPI_KEX
Constant: 0x0C = 12
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
from
Get the SSHAuthMethod for an integer value
Parameters:
value
- the integer value
Returns:
the corresponding SSHAuthMethod