com.healthmarketscience.jackcess.impl.office
Class BlockCipherProvider

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
All Implemented Interfaces:
CodecHandler
Direct Known Subclasses:
AgileEncryptionProvider, ECMAStandardEncryptionProvider

public abstract class BlockCipherProvider
extends OfficeCryptCodecHandler

Author:
James Ahlborn

Field Summary
 
Fields inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
 
Constructor Summary
BlockCipherProvider(PageChannel channel, byte[] encodingKey)
           
 
Method Summary
 boolean canDecodeInline()
           
 boolean canEncodePartialPage()
           
 ByteBuffer encodePageImpl(ByteBuffer buffer, int pageNumber, int pageOffset)
           
 
Methods inherited from class com.healthmarketscience.jackcess.impl.OfficeCryptCodecHandler
create, decodePage, encodePage
 
Methods inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
applyPageNumber, fill, fixToLength, fixToLength, hash, hash, hash, hash, toString, wrap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockCipherProvider

public BlockCipherProvider(PageChannel channel,
                           byte[] encodingKey)
Method Detail

canEncodePartialPage

public final boolean canEncodePartialPage()

canDecodeInline

public final boolean canDecodeInline()

encodePageImpl

public ByteBuffer encodePageImpl(ByteBuffer buffer,
                                 int pageNumber,
                                 int pageOffset)
                          throws IOException
Throws:
IOException


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