public static enum EncryptionHeader.CryptoAlgorithm extends java.lang.Enum<EncryptionHeader.CryptoAlgorithm>
| Enum Constant and Description |
|---|
AES_128 |
AES_192 |
AES_256 |
EXTERNAL |
RC4 |
| Modifier and Type | Field and Description |
|---|---|
private int |
_algId |
private int |
_encVerifierHashLen |
private int |
_keySizeMax |
private int |
_keySizeMin |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlgId() |
int |
getEncryptedVerifierHashLen() |
int |
getKeySizeMin() |
boolean |
isValidKeySize(int keySize) |
static EncryptionHeader.CryptoAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionHeader.CryptoAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionHeader.CryptoAlgorithm EXTERNAL
public static final EncryptionHeader.CryptoAlgorithm RC4
public static final EncryptionHeader.CryptoAlgorithm AES_128
public static final EncryptionHeader.CryptoAlgorithm AES_192
public static final EncryptionHeader.CryptoAlgorithm AES_256
private final int _algId
private final int _encVerifierHashLen
private final int _keySizeMin
private final int _keySizeMax
public static EncryptionHeader.CryptoAlgorithm[] values()
for (EncryptionHeader.CryptoAlgorithm c : EncryptionHeader.CryptoAlgorithm.values()) System.out.println(c);
public static EncryptionHeader.CryptoAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getAlgId()
public int getKeySizeMin()
public int getEncryptedVerifierHashLen()
public boolean isValidKeySize(int keySize)