Package com.hierynomus.security.bc
Class BCCipherFactory.BCStreamCipher
java.lang.Object
com.hierynomus.security.bc.BCCipherFactory.BCStreamCipher
- All Implemented Interfaces:
Cipher
- Enclosing class:
BCCipherFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hierynomus.security.Cipher
Cipher.CryptMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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)
-
Field Details
-
streamCipher
private org.bouncycastle.crypto.StreamCipher streamCipher
-
-
Constructor Details
-
BCStreamCipher
BCStreamCipher(org.bouncycastle.crypto.StreamCipher streamCipher)
-
-
Method Details
-
init
-
createParams
protected abstract org.bouncycastle.crypto.CipherParameters createParams(byte[] key) -
update
public int update(byte[] in, int inOff, int bytes, byte[] out, int outOff) -
doFinal
public int doFinal(byte[] out, int outOff) -
reset
public void reset()
-