Class BCCipherFactory.BCBlockCipher
java.lang.Object
com.hierynomus.security.bc.BCCipherFactory.BCBlockCipher
- All Implemented Interfaces:
Cipher
- Enclosing class:
BCCipherFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface Cipher
Cipher.CryptMode -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.bouncycastle.crypto.BufferedBlockCipher -
Constructor Summary
ConstructorsConstructorDescriptionBCBlockCipher(org.bouncycastle.crypto.BufferedBlockCipher bufferedBlockCipher) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.bouncycastle.crypto.CipherParameterscreateParams(byte[] key) intdoFinal(byte[] out, int outOff) voidinit(Cipher.CryptMode cryptMode, byte[] bytes) voidreset()intupdate(byte[] in, int inOff, int bytes, byte[] out, int outOff)
-
Field Details
-
wrappedCipher
private org.bouncycastle.crypto.BufferedBlockCipher wrappedCipher
-
-
Constructor Details
-
BCBlockCipher
BCBlockCipher(org.bouncycastle.crypto.BufferedBlockCipher bufferedBlockCipher)
-
-
Method Details
-
init
-
update
-
doFinal
- Specified by:
doFinalin interfaceCipher- Throws:
SecurityException
-
reset
-
createParams
protected abstract org.bouncycastle.crypto.CipherParameters createParams(byte[] key)
-