agents.security
Class ObjectInputCrypt

java.lang.Object
  |
  +--agents.security.ObjectInputCrypt

public class ObjectInputCrypt
extends java.lang.Object

Class for decodification of messages.


Constructor Summary
ObjectInputCrypt(java.lang.String passwd, java.io.ObjectInput in)
          Method for creating a new instance of the class.
 
Method Summary
static void main(java.lang.String[] arg)
          Method main for stand alone aplications.
 java.lang.Object readObject()
          Method for decodifying object using a password.
static java.lang.Object readObject(java.lang.String passwd, byte[] buffer)
          Method for decodifying buffer using a password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputCrypt

public ObjectInputCrypt(java.lang.String passwd,
                        java.io.ObjectInput in)
Method for creating a new instance of the class.
Method Detail

readObject

public java.lang.Object readObject()
                            throws java.io.IOException,
                                   java.lang.ClassNotFoundException
Method for decodifying object using a password.

readObject

public static java.lang.Object readObject(java.lang.String passwd,
                                          byte[] buffer)
                                   throws java.io.IOException,
                                          java.lang.ClassNotFoundException
Method for decodifying buffer using a password.

main

public static void main(java.lang.String[] arg)
Method main for stand alone aplications.