public static enum EncryptionHeader.CryptoAlgorithm extends Enum<EncryptionHeader.CryptoAlgorithm>
Enum Constant and Description |
---|
AES_128 |
AES_192 |
AES_256 |
EXTERNAL |
RC4 |
Modifier and Type | Method and Description |
---|---|
int |
getAlgId() |
int |
getEncryptedVerifierHashLen() |
int |
getKeySizeMin() |
boolean |
isValidKeySize(int keySize) |
static EncryptionHeader.CryptoAlgorithm |
valueOf(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
public static EncryptionHeader.CryptoAlgorithm[] values()
for (EncryptionHeader.CryptoAlgorithm c : EncryptionHeader.CryptoAlgorithm.values()) System.out.println(c);
public static EncryptionHeader.CryptoAlgorithm 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 int getAlgId()
public int getKeySizeMin()
public int getEncryptedVerifierHashLen()
public boolean isValidKeySize(int keySize)
Copyright © 2010–2022 OpenHMS. All rights reserved.