public class ECMAStandardEncryptionProvider extends BlockCipherProvider
OfficeCryptCodecHandler.Phase
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
Constructor and Description |
---|
ECMAStandardEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey,
ByteBuffer encProvBuf,
byte[] pwdBytes) |
Modifier and Type | Method and Description |
---|---|
protected org.bouncycastle.crypto.params.KeyParameter |
computeCipherParams(int pageNumber)
Generates the cipher parameters for the given page number.
|
protected org.bouncycastle.crypto.BlockCipher |
initCipher() |
protected org.bouncycastle.crypto.Digest |
initDigest() |
protected boolean |
verifyPassword(byte[] pwdBytes) |
canDecodeInline, canEncodePartialPage, decodePageImpl, encodePageImpl, getBlockCipher, initCryptCipher, initPwdCipher, reset
bits2bytes, create, decodePage, encodePage, getDigest, getPhase, initCryptDigest, initPwdDigest, 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 ECMAStandardEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel, byte[] encodingKey, ByteBuffer encProvBuf, byte[] pwdBytes) throws IOException
IOException
protected org.bouncycastle.crypto.Digest initDigest()
initDigest
in class OfficeCryptCodecHandler
protected org.bouncycastle.crypto.BlockCipher initCipher()
initCipher
in class BlockCipherProvider
protected org.bouncycastle.crypto.params.KeyParameter computeCipherParams(int pageNumber)
BaseCryptCodecHandler
computeCipherParams
in class BaseCryptCodecHandler
protected boolean verifyPassword(byte[] pwdBytes)
verifyPassword
in class OfficeCryptCodecHandler
Copyright © 2010–2018. All rights reserved.