inescID.crypto
Class FileEncryptionTool
java.lang.Object
inescID.util.FileTool
inescID.crypto.FileEncryptionTool
- public class FileEncryptionTool
- extends FileTool
Fields inherited from class inescID.util.FileTool |
|
Method Summary |
java.lang.Object |
readObjectFromFile(java.lang.String file,
java.security.interfaces.RSAKey key)
|
java.lang.Object |
readObjectFromFile(java.lang.String file,
javax.crypto.SecretKey key)
|
void |
writeObject2File(java.lang.String file,
java.lang.Object obj,
java.security.interfaces.RSAKey key)
|
void |
writeObject2File(java.lang.String file,
java.lang.Object obj,
javax.crypto.SecretKey key)
|
Methods inherited from class inescID.util.FileTool |
closeReadFile, closeWriteFile, copy, finalize, initReadLine, initWrite, readLine, readObjectFromFile, readTextFile, write, writeLine, writeObject2File |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encrypt_tool
EncryptionTool encrypt_tool
FileEncryptionTool
public FileEncryptionTool()
throws java.lang.Exception
writeObject2File
public void writeObject2File(java.lang.String file,
java.lang.Object obj,
javax.crypto.SecretKey key)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeObject2File
public void writeObject2File(java.lang.String file,
java.lang.Object obj,
java.security.interfaces.RSAKey key)
throws java.lang.Exception
- Throws:
java.lang.Exception
readObjectFromFile
public java.lang.Object readObjectFromFile(java.lang.String file,
javax.crypto.SecretKey key)
throws java.lang.Exception
- Throws:
java.lang.Exception
readObjectFromFile
public java.lang.Object readObjectFromFile(java.lang.String file,
java.security.interfaces.RSAKey key)
throws java.lang.Exception
- Throws:
java.lang.Exception