ami.security
Class AMISecureInputStream
java.lang.Object
|
+--ami.security.AMISecureInputStream
- public class AMISecureInputStream
- extends Object
Provides a secure stream able to work with:
- Serialized / encoded objets recovery
- Characters encoded recovery
- Version:
- 1.0
- Author:
- Bertrand Florat
Method Summary |
void |
close()
|
byte[] |
read(int iLength)
Used to decode a character stream |
Object |
readObject()
Used to decode and deserialize |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
P
private int[] P
sKey
private int[] sKey
S1
private int[] S1
S2
private int[] S2
S3
private int[] S3
clear
private byte[] clear
buffer
private byte[] buffer
oResu
private Object oResu
oisExterne
private ObjectInputStream oisExterne
oisInterne
private ObjectInputStream oisInterne
bais
private ByteArrayInputStream bais
brExterne
private BufferedReader brExterne
AMISecureInputStream
public AMISecureInputStream(InputStream is,
byte[] key)
throws Exception
AMISecureInputStream
public AMISecureInputStream(String fFile,
byte[] key)
throws Exception
readObject
public Object readObject()
throws Exception
- Used to decode and deserialize
read
public byte[] read(int iLength)
throws Exception
- Used to decode a character stream
close
public void close()
throws Exception