From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces
Date:	Thursday February 22, 19101 @ 20:37
Author:	burton
CVSWEB Options: -------------------
Main CVSWeb:     http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module:  http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces
-----------------------------------
Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces
In directory giga:/tmp/cvs-serv32191/src/java/org/openprivacy/sierra/nym/talon/interfaces
Modified Files:
        NymBuilder.java NymFunctionProxy.java 
Log Message:
simple nym should be working... just MD5s its signatures
*****************************************************************
File:  sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file:         http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java?annotate=1.4
CVSWeb: View this file:             http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java?rev=1.4&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version:   http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java.diff?r1=1.4&r2=1.3
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java
diff -u sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java:1.3 sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java:1.4
--- sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java:1.3	Tue Feb 20 21:09:15 2001
+++ sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymBuilder.java	Thu Feb 22 20:37:09 2001
@@ -20,6 +20,7 @@
 import java.io.*;
 import java.net.*;
 import java.util.*;
+import org.openprivacy.sierra.util.*;
 import talon.*;
 import talon.interfaces.*;
 import talon.util.net.*;
@@ -29,7 +30,7 @@
  * and internal Nym which you can obtain via getNym.
  * 
  * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: NymBuilder.java,v 1.3 2001/02/21 05:09:15 burton Exp $
+ * @version $Id: NymBuilder.java,v 1.4 2001/02/23 04:37:09 burton Exp $
  */
 public interface NymBuilder extends Component {
 
@@ -37,16 +38,16 @@
      * Get the Nym created by this Nym builder.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
-     * @version $Id: NymBuilder.java,v 1.3 2001/02/21 05:09:15 burton Exp $
+     * @version $Id: NymBuilder.java,v 1.4 2001/02/23 04:37:09 burton Exp $
      */
-    public Nym getNym(); 
+    public Nym getNym() throws SierraException; 
 
     /**
      * Given a Nym, obtain its function proxy.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
-     * @version $Id: NymBuilder.java,v 1.3 2001/02/21 05:09:15 burton Exp $
+     * @version $Id: NymBuilder.java,v 1.4 2001/02/23 04:37:09 burton Exp $
      */
-    public NymFunctionProxy getNymFunctionProxy( Nym nym );
+    public NymFunctionProxy getNymFunctionProxy( Nym nym ) throws SierraException;
     
 }
*****************************************************************
File:  sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file:         http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java?annotate=1.2
CVSWeb: View this file:             http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version:   http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java
diff -u sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java:1.1 sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java:1.2
--- sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java:1.1	Tue Feb 20 21:09:15 2001
+++ sierra/src/java/org/openprivacy/sierra/nym/talon/interfaces/NymFunctionProxy.java	Thu Feb 22 20:37:09 2001
@@ -27,14 +27,21 @@
 import talon.util.net.*;
 
 /**
+ * <p>
  * Because Sierra may operate in a Peer2Peer/distributed network, it is
  * important that privledged operations not cross the machine boundary.
  * Therefore the Nym component does not expose any special operations to outside
  * systems.  All data signing and encryption is handled in this dedicated
  * component. 
+ *
+ * <p>
+ * In order to sign an object you must write it to return a canonicalized
+ * representation of itself via toString().  Objects are passed to sign() and
+ * encrypt() and if the output from toString is incorrect then the
+ * signed/encrypted value will also be incorrct.
  * 
  * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: NymFunctionProxy.java,v 1.1 2001/02/21 05:09:15 burton Exp $
+ * @version $Id: NymFunctionProxy.java,v 1.2 2001/02/23 04:37:09 burton Exp $
  */
 public interface NymFunctionProxy extends Component {
 
@@ -42,15 +49,22 @@
      * Get the Nym which handles these functions.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
-     * @version $Id: NymFunctionProxy.java,v 1.1 2001/02/21 05:09:15 burton Exp $
+     * @version $Id: NymFunctionProxy.java,v 1.2 2001/02/23 04:37:09 burton Exp $
      */
     public Nym getNym();
     
     /**
+     * @see #getNym
+     * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
+     * @version $Id: NymFunctionProxy.java,v 1.2 2001/02/23 04:37:09 burton Exp $
+     */
+    public void setNym( Nym nym );
+
+    /**
      * Sign an object.
      
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
-     * @version $Id: NymFunctionProxy.java,v 1.1 2001/02/21 05:09:15 burton Exp $
+     * @version $Id: NymFunctionProxy.java,v 1.2 2001/02/23 04:37:09 burton Exp $
      */
     public byte[] sign( Object obj ) throws SierraException;
 
@@ -58,7 +72,7 @@
      * Encrypt an object.
      * 
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
-     * @version $Id: NymFunctionProxy.java,v 1.1 2001/02/21 05:09:15 burton Exp $
+     * @version $Id: NymFunctionProxy.java,v 1.2 2001/02/23 04:37:09 burton Exp $
      */
     public byte[] encrypt( Object obj ) throws SierraException;
 
This archive was generated by hypermail 2b30 : Thu Feb 22 2001 - 20:38:41 PST