agents.security
Class ObjectOutputCrypt
java.lang.Object
|
+--agents.security.ObjectOutputCrypt
- public class ObjectOutputCrypt
- extends java.lang.Object
Method for codification of messages.
Constructor Summary |
ObjectOutputCrypt(java.lang.String passwd,
java.io.ObjectOutput out)
Method for creating a new instance of the class. |
Method Summary |
void |
writeObject(java.lang.Object obj)
Method for codifying a object using a password. |
static byte[] |
writeObject(java.lang.String passwd,
java.lang.Object obj)
Method to execute the cryptography of the buffer using a password. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectOutputCrypt
public ObjectOutputCrypt(java.lang.String passwd,
java.io.ObjectOutput out)
- Method for creating a new instance of the class.
writeObject
public void writeObject(java.lang.Object obj)
throws java.io.IOException
- Method for codifying a object using a password.
writeObject
public static byte[] writeObject(java.lang.String passwd,
java.lang.Object obj)
throws java.io.IOException
- Method to execute the cryptography of the buffer using a password.