Class OfficeCryptCodecHandler
- java.lang.Object
-
- com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
-
- com.healthmarketscience.jackcess.crypt.impl.OfficeCryptCodecHandler
-
- All Implemented Interfaces:
CodecHandler
- Direct Known Subclasses:
BlockCipherProvider,StreamCipherProvider
public abstract class OfficeCryptCodecHandler extends BaseCryptCodecHandler
CryptCodecHandler for the Office Document Cryptography standard.- Author:
- James Ahlborn
-
-
Field Summary
-
Fields inherited from class com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodecHandlercreate(Supplier<String> callback, PageChannel channel, Charset charset)voiddecodePage(ByteBuffer inPage, ByteBuffer outPage, int pageNumber)ByteBufferencodePage(ByteBuffer buffer, int pageNumber, int pageOffset)-
Methods inherited from class com.healthmarketscience.jackcess.crypt.impl.BaseCryptCodecHandler
applyPageNumber, fill, fixToLength, fixToLength, hash, hash, hash, hash, toString, wrap
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.healthmarketscience.jackcess.impl.CodecHandler
canDecodeInline, canEncodePartialPage
-
-
-
-
Method Detail
-
create
public static CodecHandler create(Supplier<String> callback, PageChannel channel, Charset charset) throws IOException
- Throws:
IOException
-
decodePage
public void decodePage(ByteBuffer inPage, ByteBuffer outPage, int pageNumber) throws IOException
- Throws:
IOException
-
encodePage
public ByteBuffer encodePage(ByteBuffer buffer, int pageNumber, int pageOffset) throws IOException
- Throws:
IOException
-
-