public class AgileEncryptionProvider extends BlockCipherProvider
OfficeCryptCodecHandler.Phase
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
Constructor and Description |
---|
AgileEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey,
ByteBuffer encProvBuf,
byte[] pwdBytes) |
Modifier and Type | Method and Description |
---|---|
protected org.bouncycastle.crypto.params.ParametersWithIV |
computeCipherParams(int pageNumber)
Generates the cipher parameters for the given page number.
|
protected org.bouncycastle.crypto.BlockCipher |
initCryptCipher() |
protected org.bouncycastle.crypto.Digest |
initCryptDigest() |
protected org.bouncycastle.crypto.BlockCipher |
initPwdCipher() |
protected org.bouncycastle.crypto.Digest |
initPwdDigest() |
protected boolean |
verifyPassword(byte[] pwdBytes) |
canDecodeInline, canEncodePartialPage, decodePageImpl, encodePageImpl, getBlockCipher, initCipher, reset
bits2bytes, create, decodePage, encodePage, getDigest, getPhase, initDigest, int2bytes, iterateHash
applyPageNumber, blockDecrypt, blockDecryptBytes, blockEncrypt, decryptBytes, decryptBytes, decryptInit, decryptInit, encryptInit, encryptInit, fill, fixToLength, fixToLength, getCipherParams, getEncodingKey, getEncodingKey, getStreamCipher, getTempBuffer, hash, hash, hash, hash, isBlankKey, processBytesFully, readHeaderPage, streamDecrypt, streamEncrypt, toString, wrap
public AgileEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel, byte[] encodingKey, ByteBuffer encProvBuf, byte[] pwdBytes) throws IOException
IOException
protected org.bouncycastle.crypto.Digest initPwdDigest()
initPwdDigest
in class OfficeCryptCodecHandler
protected org.bouncycastle.crypto.Digest initCryptDigest()
initCryptDigest
in class OfficeCryptCodecHandler
protected org.bouncycastle.crypto.BlockCipher initPwdCipher()
initPwdCipher
in class BlockCipherProvider
protected org.bouncycastle.crypto.BlockCipher initCryptCipher()
initCryptCipher
in class BlockCipherProvider
protected boolean verifyPassword(byte[] pwdBytes)
verifyPassword
in class OfficeCryptCodecHandler
protected org.bouncycastle.crypto.params.ParametersWithIV computeCipherParams(int pageNumber)
BaseCryptCodecHandler
computeCipherParams
in class BaseCryptCodecHandler
Copyright © 2010–2016. All rights reserved.