public abstract class BlockCipherProvider extends OfficeCryptCodecHandler
OfficeCryptCodecHandler.PhaseCIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE| Constructor and Description |
|---|
BlockCipherProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecodeInline() |
boolean |
canEncodePartialPage() |
protected void |
decodePageImpl(ByteBuffer inPage,
ByteBuffer outPage,
int pageNumber) |
ByteBuffer |
encodePageImpl(ByteBuffer buffer,
int pageNumber,
int pageOffset) |
protected org.bouncycastle.crypto.BufferedBlockCipher |
getBlockCipher() |
protected org.bouncycastle.crypto.BlockCipher |
initCipher() |
protected org.bouncycastle.crypto.BlockCipher |
initCryptCipher() |
protected org.bouncycastle.crypto.BlockCipher |
initPwdCipher() |
protected void |
reset() |
bits2bytes, create, decodePage, encodePage, getDigest, getPhase, initCryptDigest, initDigest, initPwdDigest, int2bytes, iterateHash, verifyPasswordapplyPageNumber, blockDecrypt, blockDecryptBytes, blockEncrypt, computeCipherParams, decryptBytes, decryptBytes, decryptInit, decryptInit, encryptInit, encryptInit, fill, fixToLength, fixToLength, getCipherParams, getEncodingKey, getEncodingKey, getStreamCipher, getTempBuffer, hash, hash, hash, hash, isBlankKey, processBytesFully, readHeaderPage, streamDecrypt, streamEncrypt, toString, wrappublic BlockCipherProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey)
protected org.bouncycastle.crypto.BufferedBlockCipher getBlockCipher()
getBlockCipher in class BaseCryptCodecHandlerpublic final boolean canEncodePartialPage()
public final boolean canDecodeInline()
protected org.bouncycastle.crypto.BlockCipher initCipher()
protected org.bouncycastle.crypto.BlockCipher initPwdCipher()
protected org.bouncycastle.crypto.BlockCipher initCryptCipher()
protected void decodePageImpl(ByteBuffer inPage, ByteBuffer outPage, int pageNumber)
decodePageImpl in class OfficeCryptCodecHandlerpublic ByteBuffer encodePageImpl(ByteBuffer buffer, int pageNumber, int pageOffset) throws IOException
encodePageImpl in class OfficeCryptCodecHandlerIOExceptionprotected void reset()
reset in class OfficeCryptCodecHandlerCopyright © 2010–2021. All rights reserved.