public enum HostKeyType extends java.lang.Enum<HostKeyType>
| Enum Constant and Description |
|---|
ECDSA256 |
ECDSA384 |
ECDSA521 |
SSH_DSS |
SSH_RSA |
| Modifier and Type | Method and Description |
|---|---|
static HostKeyType |
byTypeString(java.lang.String typeString) |
int |
getType() |
java.lang.String |
getTypeString() |
static HostKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HostKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostKeyType SSH_DSS
public static final HostKeyType SSH_RSA
public static final HostKeyType ECDSA256
public static final HostKeyType ECDSA384
public static final HostKeyType ECDSA521
public static HostKeyType[] values()
for (HostKeyType c : HostKeyType.values()) System.out.println(c);
public static HostKeyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getType()
public java.lang.String getTypeString()
public static HostKeyType byTypeString(java.lang.String typeString)