public enum EncryptionStrength extends Enum<EncryptionStrength> implements INumberEnum<Integer>
Enum Constant and Description |
---|
AES128 |
MEDIUM |
SIMPLE |
STRONG |
UNENCRYPTED |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static EncryptionStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionStrength UNENCRYPTED
public static final EncryptionStrength SIMPLE
public static final EncryptionStrength MEDIUM
public static final EncryptionStrength STRONG
public static final EncryptionStrength AES128
public static EncryptionStrength[] values()
for (EncryptionStrength c : EncryptionStrength.values()) System.out.println(c);
public static EncryptionStrength 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 Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.