Interface StreamCipherCompat
-
- All Known Implementing Classes:
RC4EngineCompat
public interface StreamCipherCompatAlternate version of StreamCipher API which allows us to be handle both old and new bouncycastle versions.- Author:
- James Ahlborn
- See Also:
StreamCipher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAlgorithmName()voidinit(boolean forEncryption, CipherParameters params)intprocessStreamBytes(byte[] in, int inOff, int len, byte[] out, int outOff)voidreset()bytereturnByte(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()
-
-