public class AlgorithmConstraints extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AlgorithmConstraints.ConstraintType |
| Modifier and Type | Field and Description |
|---|---|
static AlgorithmConstraints |
ALLOW_ONLY_NONE |
static AlgorithmConstraints |
DISALLOW_NONE |
static AlgorithmConstraints |
NO_CONSTRAINTS |
| Constructor and Description |
|---|
AlgorithmConstraints(AlgorithmConstraints.ConstraintType type,
String... algorithms) |
public static final AlgorithmConstraints NO_CONSTRAINTS
public static final AlgorithmConstraints DISALLOW_NONE
public static final AlgorithmConstraints ALLOW_ONLY_NONE
public AlgorithmConstraints(AlgorithmConstraints.ConstraintType type, String... algorithms)
public void checkConstraint(String algorithm) throws InvalidAlgorithmException
InvalidAlgorithmExceptionCopyright © 2020. All rights reserved.