com.healthmarketscience.jackcess.impl.office
Class EncryptionHeader
java.lang.Object
com.healthmarketscience.jackcess.impl.office.EncryptionHeader
public class EncryptionHeader
- extends Object
- Author:
- James Ahlborn
UNICODE_CHARSET
public static final Charset UNICODE_CHARSET
FCRYPTO_API_FLAG
public static final int FCRYPTO_API_FLAG
- See Also:
- Constant Field Values
FDOC_PROPS_FLAG
public static final int FDOC_PROPS_FLAG
- See Also:
- Constant Field Values
FEXTERNAL_FLAG
public static final int FEXTERNAL_FLAG
- See Also:
- Constant Field Values
FAES_FLAG
public static final int FAES_FLAG
- See Also:
- Constant Field Values
EncryptionHeader
public EncryptionHeader(ByteBuffer buffer)
getFlags
public int getFlags()
getSizeExtra
public int getSizeExtra()
getCryptoAlgorithm
public EncryptionHeader.CryptoAlgorithm getCryptoAlgorithm()
getHashAlgorithm
public EncryptionHeader.HashAlgorithm getHashAlgorithm()
getKeySize
public int getKeySize()
getProviderType
public int getProviderType()
getCspName
public String getCspName()
read
public static EncryptionHeader read(ByteBuffer encProvBuf,
Set<EncryptionHeader.CryptoAlgorithm> validCryptoAlgos,
Set<EncryptionHeader.HashAlgorithm> validHashAlgos)
isFlagSet
public static boolean isFlagSet(int flagsVal,
int flagMask)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2015 Health Market Science. All Rights Reserved.