public class ECMAStandardEncryptionProvider extends BlockCipherProvider
OfficeCryptCodecHandler.PhaseCIPHER_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, resetbits2bytes, create, decodePage, encodePage, getDigest, getPhase, initCryptDigest, initPwdDigest, int2bytes, iterateHashapplyPageNumber, 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, wrappublic ECMAStandardEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
byte[] encodingKey,
ByteBuffer encProvBuf,
byte[] pwdBytes)
throws IOException
IOExceptionprotected org.bouncycastle.crypto.Digest initDigest()
initDigest in class OfficeCryptCodecHandlerprotected org.bouncycastle.crypto.BlockCipher initCipher()
initCipher in class BlockCipherProviderprotected org.bouncycastle.crypto.params.KeyParameter computeCipherParams(int pageNumber)
BaseCryptCodecHandlercomputeCipherParams in class BaseCryptCodecHandlerprotected boolean verifyPassword(byte[] pwdBytes)
verifyPassword in class OfficeCryptCodecHandlerCopyright © 2010–2021. All rights reserved.