com.healthmarketscience.jackcess.util
Interface StreamCipherCompat

All Known Implementing Classes:
RC4EngineCompat

public interface StreamCipherCompat

Alternate version of StreamCipher API which allows us to be handle both old and new bouncycastle versions.

Author:
James Ahlborn
See Also:
StreamCipher

Method Summary
 String getAlgorithmName()
           
 void init(boolean forEncryption, CipherParameters params)
           
 int processStreamBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
           
 void reset()
           
 byte returnByte(byte in)
           
 

Method Detail

getAlgorithmName

String getAlgorithmName()

init

void init(boolean forEncryption,
          CipherParameters params)

returnByte

byte returnByte(byte in)

processStreamBytes

int processStreamBytes(byte[] in,
                       int inOff,
                       int len,
                       byte[] out,
                       int outOff)

reset

void reset()


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