Class BlockCipherProvider
- java.lang.Object
-
- com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
-
- com.healthmarketscience.jackcess.crypt.impl.OfficeCryptCodecHandler
-
- com.healthmarketscience.jackcess.crypt.impl.office.BlockCipherProvider
-
- All Implemented Interfaces:
CodecHandler
- Direct Known Subclasses:
AgileEncryptionProvider,ECMAStandardEncryptionProvider
public abstract class BlockCipherProvider extends OfficeCryptCodecHandler
- Author:
- James Ahlborn
-
-
Field Summary
-
Fields inherited from class com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
-
-
Constructor Summary
Constructors Constructor Description BlockCipherProvider(PageChannel channel, byte[] encodingKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanDecodeInline()booleancanEncodePartialPage()ByteBufferencodePageImpl(ByteBuffer buffer, int pageNumber, int pageOffset)-
Methods inherited from class com.healthmarketscience.jackcess.crypt.impl.OfficeCryptCodecHandler
create, decodePage, encodePage
-
Methods inherited from class com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
applyPageNumber, fill, fixToLength, fixToLength, hash, hash, hash, hash, toString, wrap
-
-
-
-
Constructor Detail
-
BlockCipherProvider
public BlockCipherProvider(PageChannel channel, byte[] encodingKey)
-
-
Method Detail
-
canEncodePartialPage
public final boolean canEncodePartialPage()
-
canDecodeInline
public final boolean canDecodeInline()
-
encodePageImpl
public ByteBuffer encodePageImpl(ByteBuffer buffer, int pageNumber, int pageOffset) throws IOException
- Throws:
IOException
-
-