public enum KeyFlag extends Enum<KeyFlag>
Enum Constant and Description |
---|
AUTHENTICATION |
CERTIFY_OTHER |
ENCRYPT_COMMS |
ENCRYPT_STORAGE |
SHARED |
SIGN_DATA |
SPLIT |
Modifier and Type | Method and Description |
---|---|
static List<KeyFlag> |
fromInteger(int bitmask) |
int |
getFlag() |
static KeyFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFlag CERTIFY_OTHER
public static final KeyFlag ENCRYPT_COMMS
public static final KeyFlag ENCRYPT_STORAGE
public static final KeyFlag AUTHENTICATION
public static KeyFlag[] values()
for (KeyFlag c : KeyFlag.values()) System.out.println(c);
public static KeyFlag 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 int getFlag()
public static List<KeyFlag> fromInteger(int bitmask)