com.healthmarketscience.jackcess.impl
Class OfficeCryptCodecHandler

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
      extended by com.healthmarketscience.jackcess.impl.OfficeCryptCodecHandler
All Implemented Interfaces:
CodecHandler
Direct Known Subclasses:
BlockCipherProvider, StreamCipherProvider

public abstract class OfficeCryptCodecHandler
extends BaseCryptCodecHandler

CryptCodecHandler for the Office Document Cryptography standard.

Author:
James Ahlborn

Field Summary
 
Fields inherited from class com.healthmarketscience.jackcess.impl.BaseCryptCodecHandler
CIPHER_DECRYPT_MODE, CIPHER_ENCRYPT_MODE
 
Method Summary
static CodecHandler create(PasswordCallback callback, PageChannel channel, Charset charset)
           
 void decodePage(ByteBuffer inPage, ByteBuffer outPage, int pageNumber)
           
 ByteBuffer encodePage(ByteBuffer buffer, int pageNumber, int pageOffset)
           
 
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
 
Methods inherited from interface com.healthmarketscience.jackcess.impl.CodecHandler
canDecodeInline, canEncodePartialPage
 

Method Detail

create

public static CodecHandler create(PasswordCallback callback,
                                  PageChannel channel,
                                  Charset charset)
                           throws IOException
Throws:
IOException

decodePage

public void decodePage(ByteBuffer inPage,
                       ByteBuffer outPage,
                       int pageNumber)
                throws IOException
Throws:
IOException

encodePage

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


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