public enum SecretKeys extends Enum<SecretKeys>
| Enum Constant and Description |
|---|
GPG_KEY |
SSH_KEY |
SSH_PUBLIC_KEY |
| Modifier and Type | Method and Description |
|---|---|
static SecretKeys |
fromValue(String v) |
abstract String |
generate() |
static boolean |
isSecretKey(String key) |
static SecretKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecretKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecretKeys GPG_KEY
public static final SecretKeys SSH_KEY
public static final SecretKeys SSH_PUBLIC_KEY
public static SecretKeys[] values()
for (SecretKeys c : SecretKeys.values()) System.out.println(c);
public static SecretKeys 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 static boolean isSecretKey(String key)
public static SecretKeys fromValue(String v)
public abstract String generate()
Copyright © 2018 JBoss by Red Hat. All rights reserved.