Package com.hierynomus.security
Interface Cipher
-
- All Known Implementing Classes:
JceCipher
public interface Cipher
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Cipher.CryptMode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
void init(Cipher.CryptMode cryptMode, byte[] bytes) throws SecurityException
- Throws:
SecurityException
-
update
int update(byte[] in, int inOff, int bytes, byte[] out, int outOff) throws SecurityException
- Throws:
SecurityException
-
doFinal
int doFinal(byte[] out, int outOff) throws SecurityException
- Throws:
SecurityException
-
reset
void reset()
-
-