com.healthmarketscience.jackcess.impl.office
Class NonStandardEncryptionProvider

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
      extended by com.healthmarketscience.jackcess.impl.OfficeCryptCodecHandler
          extended by com.healthmarketscience.jackcess.impl.office.BlockCipherProvider
              extended by com.healthmarketscience.jackcess.impl.office.ECMAStandardEncryptionProvider
                  extended by com.healthmarketscience.jackcess.impl.office.NonStandardEncryptionProvider
All Implemented Interfaces:
com.healthmarketscience.jackcess.impl.CodecHandler

public class NonStandardEncryptionProvider
extends ECMAStandardEncryptionProvider

The "non-standard" provider handles the case where AES is enabled for older databases with the office crypto "compatmode" set to 0 (non-compatible). More details here

Author:
James Ahlborn

Nested Class Summary
 
Nested classes/interfaces inherited from class com.healthmarketscience.jackcess.impl.OfficeCryptCodecHandler
OfficeCryptCodecHandler.Phase
 
Field Summary
 
Fields inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
 
Constructor Summary
NonStandardEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel, byte[] encodingKey, ByteBuffer encProvBuf, byte[] pwdBytes)
           
 
Method Summary
 
Methods inherited from class com.healthmarketscience.jackcess.impl.office.ECMAStandardEncryptionProvider
computeCipherParams, initCipher, initDigest, verifyPassword
 
Methods inherited from class com.healthmarketscience.jackcess.impl.office.BlockCipherProvider
canDecodeInline, canEncodePartialPage, decodePageImpl, encodePageImpl, getBlockCipher, initCryptCipher, initPwdCipher, reset
 
Methods inherited from class com.healthmarketscience.jackcess.impl.OfficeCryptCodecHandler
bits2bytes, create, decodePage, encodePage, getDigest, getPhase, initCryptDigest, initPwdDigest, int2bytes, iterateHash
 
Methods inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonStandardEncryptionProvider

public NonStandardEncryptionProvider(com.healthmarketscience.jackcess.impl.PageChannel channel,
                                     byte[] encodingKey,
                                     ByteBuffer encProvBuf,
                                     byte[] pwdBytes)
                              throws IOException
Throws:
IOException


Copyright © 2010-2017 Health Market Science. All Rights Reserved.