public static enum EncryptionKey.Source extends Enum<EncryptionKey.Source>
Enum Constant and Description |
---|
ENVIRONMENT
Value is the name of an environment variable containing the key.
|
FILE
Value is the path to a file containing the key.
|
KEY
Value is the actual key.
|
PROPERTY
Value is the name of a JVM system property containing the key.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionKey.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionKey.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionKey.Source KEY
public static final EncryptionKey.Source FILE
public static final EncryptionKey.Source ENVIRONMENT
public static final EncryptionKey.Source PROPERTY
public static EncryptionKey.Source[] values()
for (EncryptionKey.Source c : EncryptionKey.Source.values()) System.out.println(c);
public static EncryptionKey.Source 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 nullCopyright © 2008–2021 Norconex Inc.. All rights reserved.