Package com.hierynomus.security.bc
Class BCCipherFactory.BCStreamCipher
- java.lang.Object
-
- com.hierynomus.security.bc.BCCipherFactory.BCStreamCipher
-
- All Implemented Interfaces:
Cipher
- Enclosing class:
- BCCipherFactory
private abstract static class BCCipherFactory.BCStreamCipher extends java.lang.Object implements Cipher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.hierynomus.security.Cipher
Cipher.CryptMode
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.crypto.StreamCipher
streamCipher
-
Constructor Summary
Constructors Constructor Description BCStreamCipher(org.bouncycastle.crypto.StreamCipher streamCipher)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.bouncycastle.crypto.CipherParameters
createParams(byte[] key)
int
doFinal(byte[] out, int outOff)
void
init(Cipher.CryptMode cryptMode, byte[] bytes)
void
reset()
int
update(byte[] in, int inOff, int bytes, byte[] out, int outOff)
-
-
-
Method Detail
-
init
public void init(Cipher.CryptMode cryptMode, byte[] bytes)
-
createParams
protected abstract org.bouncycastle.crypto.CipherParameters createParams(byte[] key)
-
update
public int update(byte[] in, int inOff, int bytes, byte[] out, int outOff)
-
-