public enum AsymmetricKeyType extends Enum<AsymmetricKeyType>
| Modifier and Type | Method and Description |
|---|---|
abstract Key |
generateKey(SSHKeyReader keyReader,
String raw) |
static AsymmetricKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsymmetricKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsymmetricKeyType PUBLIC
public static final AsymmetricKeyType PRIVATE
public static AsymmetricKeyType[] values()
for (AsymmetricKeyType c : AsymmetricKeyType.values()) System.out.println(c);
public static AsymmetricKeyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Key generateKey(SSHKeyReader keyReader, String raw) throws Exception
ExceptionCopyright © 2019. All rights reserved.