public class JetCryptCodecHandler extends BaseJetCryptCodecHandler
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
ENCODING_KEY_LENGTH |
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE| Constructor and Description |
|---|
JetCryptCodecHandler(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey) |
| Modifier and Type | Method and Description |
|---|---|
protected org.bouncycastle.crypto.params.KeyParameter |
computeCipherParams(int pageNumber)
Generates the cipher parameters for the given page number.
|
static com.healthmarketscience.jackcess.impl.CodecHandler |
create(com.healthmarketscience.jackcess.impl.PageChannel channel) |
protected int |
getMaxEncodedPage() |
canDecodeInline, canEncodePartialPage, decodePage, encodePage, getStreamCipherapplyPageNumber, blockDecrypt, blockDecryptBytes, blockEncrypt, decryptBytes, decryptBytes, decryptInit, decryptInit, encryptInit, encryptInit, fill, fixToLength, fixToLength, getBlockCipher, getCipherParams, getEncodingKey, getEncodingKey, getTempBuffer, hash, hash, hash, hash, isBlankKey, processBytesFully, readHeaderPage, streamDecrypt, streamEncrypt, toString, wrapstatic final int ENCODING_KEY_LENGTH
JetCryptCodecHandler(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey)
public static com.healthmarketscience.jackcess.impl.CodecHandler create(com.healthmarketscience.jackcess.impl.PageChannel channel)
throws java.io.IOException
java.io.IOExceptionprotected org.bouncycastle.crypto.params.KeyParameter computeCipherParams(int pageNumber)
BaseCryptCodecHandlercomputeCipherParams in class BaseCryptCodecHandlerprotected int getMaxEncodedPage()
getMaxEncodedPage in class BaseJetCryptCodecHandler