Package com.hierynomus.security.jce
Class JceCipher
java.lang.Object
com.hierynomus.security.jce.JceCipher
- All Implemented Interfaces:
Cipher
-
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 TypeMethodDescriptionint
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
-
cipher
-
-
Constructor Details
-
JceCipher
JceCipher(String name, Provider jceProvider, String providerName) throws SecurityException - Throws:
SecurityException
-
-
Method Details
-
init
- Specified by:
init
in interfaceCipher
- Throws:
SecurityException
-
update
- Specified by:
update
in interfaceCipher
- Throws:
SecurityException
-
doFinal
- Specified by:
doFinal
in interfaceCipher
- Throws:
SecurityException
-
reset
public void reset()
-