[Webfunds-commits] java/webfunds/sox RegisterRequest.java

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Thu, 6 Jul 2000 13:04:48 -0400 (AST)


gelderen    00/07/06 13:04:48

  Modified:    webfunds/sox RegisterRequest.java
  Log:
  Remove commented out code.

Revision  Changes    Path
1.13      +4 -23     java/webfunds/sox/RegisterRequest.java

Index: RegisterRequest.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/RegisterRequest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- RegisterRequest.java	2000/03/29 01:00:18	1.12
+++ RegisterRequest.java	2000/07/06 17:04:48	1.13
@@ -1,11 +1,8 @@
-/*
- * $Id: RegisterRequest.java,v 1.12 2000/03/29 01:00:18 iang Exp $
+/* $Id: RegisterRequest.java,v 1.13 2000/07/06 17:04:48 gelderen Exp $
  *
- * Copyright (c) Systemics Ltd 1995-1999 on behalf of
- * the WebFunds Development Team.  All Rights Reserved.
+ * Copyright (c) Systemics Inc. 1995-2000 on behalf of
+ * The WebFunds Development Team. All Rights Reserved.
  */
-/* $Id: RegisterRequest.java,v 1.12 2000/03/29 01:00:18 iang Exp $
- */
 package webfunds.sox;
 
 import java.io.*;
@@ -17,7 +14,7 @@
  * A Request class that registers a client key with an issuer,
  * by means of the "Register" request
  *
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
  */
 public class RegisterRequest
     extends Request
@@ -55,20 +52,6 @@
                            { return new RegisterReply(requestId, id); }
 
 
-    /**
-     * Create a register request for a particular certificate
-     * This is the constructor usually called by SOX clients
-     *
-     * @param cert The certificate to register
-     */
-//    public RegisterRequest(String requestId, AccountId acc, X509Cert cert)
-//        throws SOXKeyException
-//    {
-//        super(requestId, acc);
-////System.err.println("Stop it!!!!");
-//        init(Crypto.getPublicKeyFromCert(cert));
-//    }
-
     public RegisterRequest(String requestId, AccountId acc, PublicKey key)
         throws SOXKeyException
     {
@@ -106,7 +89,6 @@
         if (req_version >= 3)   // New! for version == 2 && super.version == 3
             dos.writeByte(version);
 
-        //writeCertificate(dos, cert);
         PublicKey key = publicKey();
         writeByteArray(dos, Crypto.encodePublicKey(key));
     }
@@ -269,5 +251,4 @@
             throw new RuntimeException("FAILED:\n\n"+q+"\n\n"+p+"\nEND\n");
         }
     }
-
 }