public static enum AlgorithmConstraints.ConstraintType extends Enum<AlgorithmConstraints.ConstraintType>
| Enum Constant and Description |
|---|
BLACKLIST
Deprecated.
in favor of more inclusive terminology. Use
BLOCK instead. |
BLOCK
Block the indicated algorithms while allowing all others that are defined and supported.
|
PERMIT
Allow only the indicated algorithms and no others.
|
WHITELIST
Deprecated.
in favor of more inclusive terminology. Use
PERMIT instead. |
| Modifier and Type | Method and Description |
|---|---|
static AlgorithmConstraints.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlgorithmConstraints.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final AlgorithmConstraints.ConstraintType WHITELIST
PERMIT instead.@Deprecated public static final AlgorithmConstraints.ConstraintType BLACKLIST
BLOCK instead.public static final AlgorithmConstraints.ConstraintType PERMIT
public static final AlgorithmConstraints.ConstraintType BLOCK
public static AlgorithmConstraints.ConstraintType[] values()
for (AlgorithmConstraints.ConstraintType c : AlgorithmConstraints.ConstraintType.values()) System.out.println(c);
public static AlgorithmConstraints.ConstraintType 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 © 2022. All rights reserved.