com.healthmarketscience.jackcess.impl.office
Enum EncryptionHeader.CryptoAlgorithm
java.lang.Object
java.lang.Enum<EncryptionHeader.CryptoAlgorithm>
com.healthmarketscience.jackcess.impl.office.EncryptionHeader.CryptoAlgorithm
- All Implemented Interfaces:
- Serializable, Comparable<EncryptionHeader.CryptoAlgorithm>
- Enclosing class:
- EncryptionHeader
public static enum EncryptionHeader.CryptoAlgorithm
- extends Enum<EncryptionHeader.CryptoAlgorithm>
EXTERNAL
public static final EncryptionHeader.CryptoAlgorithm EXTERNAL
RC4
public static final EncryptionHeader.CryptoAlgorithm RC4
AES_128
public static final EncryptionHeader.CryptoAlgorithm AES_128
AES_192
public static final EncryptionHeader.CryptoAlgorithm AES_192
AES_256
public static final EncryptionHeader.CryptoAlgorithm AES_256
values
public static EncryptionHeader.CryptoAlgorithm[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EncryptionHeader.CryptoAlgorithm c : EncryptionHeader.CryptoAlgorithm.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EncryptionHeader.CryptoAlgorithm valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getAlgId
public int getAlgId()
getKeySizeMin
public int getKeySizeMin()
getEncryptedVerifierHashLen
public int getEncryptedVerifierHashLen()
isValidKeySize
public boolean isValidKeySize(int keySize)
Copyright © 2010-2015 Health Market Science. All Rights Reserved.