com.healthmarketscience.jackcess.impl
Class MSISAMCryptCodecHandler
java.lang.Object
com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
com.healthmarketscience.jackcess.impl.BaseJetCryptCodecHandler
com.healthmarketscience.jackcess.impl.MSISAMCryptCodecHandler
- All Implemented Interfaces:
- com.healthmarketscience.jackcess.impl.CodecHandler
public class MSISAMCryptCodecHandler
- extends BaseJetCryptCodecHandler
CodecHandler for MSISAM databases.
- Author:
- Vladimir Berezniker
|
Method Summary |
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(PasswordCallback callback,
com.healthmarketscience.jackcess.impl.PageChannel channel,
Charset charset)
|
protected int |
getMaxEncodedPage()
|
| Methods inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler |
applyPageNumber, 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, wrap |
create
public static com.healthmarketscience.jackcess.impl.CodecHandler create(PasswordCallback callback,
com.healthmarketscience.jackcess.impl.PageChannel channel,
Charset charset)
throws IOException
- Throws:
IOException
computeCipherParams
protected org.bouncycastle.crypto.params.KeyParameter computeCipherParams(int pageNumber)
- Description copied from class:
BaseCryptCodecHandler
- Generates the cipher parameters for the given page number.
- Specified by:
computeCipherParams in class BaseCryptCodecHandler
getMaxEncodedPage
protected int getMaxEncodedPage()
- Specified by:
getMaxEncodedPage in class BaseJetCryptCodecHandler
Copyright © 2010-2017 Health Market Science. All Rights Reserved.