public abstract class BaseJetCryptCodecHandler extends BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
Modifier | Constructor and Description |
---|---|
protected |
BaseJetCryptCodecHandler(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDecodeInline() |
boolean |
canEncodePartialPage() |
void |
decodePage(ByteBuffer inPage,
ByteBuffer outPage,
int pageNumber) |
ByteBuffer |
encodePage(ByteBuffer buffer,
int pageNumber,
int pageOffset) |
protected abstract int |
getMaxEncodedPage() |
protected org.bouncycastle.crypto.engines.RC4Engine |
getStreamCipher() |
applyPageNumber, blockDecrypt, blockDecryptBytes, blockEncrypt, computeCipherParams, decryptBytes, decryptBytes, decryptInit, decryptInit, encryptInit, encryptInit, fill, fixToLength, fixToLength, getBlockCipher, getCipherParams, getEncodingKey, getEncodingKey, getTempBuffer, hash, hash, hash, hash, isBlankKey, processBytesFully, readHeaderPage, streamDecrypt, streamEncrypt, toString, wrap
protected BaseJetCryptCodecHandler(com.healthmarketscience.jackcess.impl.PageChannel channel, byte[] encodingKey)
public boolean canEncodePartialPage()
public boolean canDecodeInline()
protected final org.bouncycastle.crypto.engines.RC4Engine getStreamCipher()
getStreamCipher
in class BaseCryptCodecHandler
public void decodePage(ByteBuffer inPage, ByteBuffer outPage, int pageNumber)
public ByteBuffer encodePage(ByteBuffer buffer, int pageNumber, int pageOffset)
protected abstract int getMaxEncodedPage()
Copyright © 2010–2015. All rights reserved.