public static enum TinkFipsUtil.AlgorithmFipsCompatibility extends Enum<TinkFipsUtil.AlgorithmFipsCompatibility>
| Enum Constant and Description |
|---|
ALGORITHM_NOT_FIPS
The algorithm is not FIPS compatible
|
ALGORITHM_REQUIRES_BORINGCRYPTO
The algorithm has a FIPS validated implementation if BoringCrypto is available.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isCompatible() |
static TinkFipsUtil.AlgorithmFipsCompatibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TinkFipsUtil.AlgorithmFipsCompatibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TinkFipsUtil.AlgorithmFipsCompatibility ALGORITHM_NOT_FIPS
public static final TinkFipsUtil.AlgorithmFipsCompatibility ALGORITHM_REQUIRES_BORINGCRYPTO
public static TinkFipsUtil.AlgorithmFipsCompatibility[] values()
for (TinkFipsUtil.AlgorithmFipsCompatibility c : TinkFipsUtil.AlgorithmFipsCompatibility.values()) System.out.println(c);
public static TinkFipsUtil.AlgorithmFipsCompatibility 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 abstract boolean isCompatible()