CVS update: sierra/src/java/org/openprivacy/sierra/tests

From: cvs@openprivacy.org
Date: Fri Mar 16 2001 - 01:11:51 PST

  • Next message: cvs@openprivacy.org: "CVS update: sierra/src/java/org/openprivacy/sierra/nym/talon/implementations"

    Date: Friday March 16, 19101 @ 1:11
    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/tests

    -----------------------------------

    Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/tests
    In directory giga:/tmp/cvs-serv7971/src/java/org/openprivacy/sierra/tests

    Modified Files:
            Test7.java
    Log Message:
    signing now only takes a canonicalization. all repuations are added because the time changes on thier install

    *****************************************************************
    File: sierra/src/java/org/openprivacy/sierra/tests/Test7.java

    CVSWEB Options: -------------------

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test7.java?annotate=1.6

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/tests/Test7.java?rev=1.6&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/tests/Test7.java.diff?r1=1.6&r2=1.5

    -----------------------------------

    Index: sierra/src/java/org/openprivacy/sierra/tests/Test7.java
    diff -u sierra/src/java/org/openprivacy/sierra/tests/Test7.java:1.5 sierra/src/java/org/openprivacy/sierra/tests/Test7.java:1.6
    --- sierra/src/java/org/openprivacy/sierra/tests/Test7.java:1.5 Wed Mar 14 21:51:24 2001
    +++ sierra/src/java/org/openprivacy/sierra/tests/Test7.java Fri Mar 16 01:11:50 2001
    @@ -32,7 +32,7 @@
      * obtaining the actual Nym, etc).
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: Test7.java,v 1.5 2001/03/15 05:51:24 burton Exp $
    + * @version $Id: Test7.java,v 1.6 2001/03/16 09:11:50 burton Exp $
      */
     public class Test7 extends BaseTest {
     
    @@ -50,14 +50,20 @@
     
             NymFunctionProxy nfp = nb.getNymFunctionProxy();
     
    - String message = "hello world";
    + byte[] signature = nfp.sign( new CanonicalTest() );
     
    - System.out.println( " Signing message: " + message );
    -
    - byte[] signature = nfp.sign( message );
    -
             System.out.println( " result == " + signature );
             
         }
     
    + class CanonicalTest implements Canonicalizable {
    +
    + public byte[] getCanonicalFormat() {
    +
    + return "hello world".getBytes();
    +
    + }
    +
    + }
    +
     }



    This archive was generated by hypermail 2b30 : Fri Mar 16 2001 - 01:12:22 PST