[Webfunds-commits] java/webfunds/sox Crypto.java SmartIssuer.java PaymentFactory.java
Ian Grigg
iang@cypherpunks.ai
Wed, 11 Apr 2001 15:18:13 -0400 (AST)
iang 01/04/11 15:18:13
Modified: webfunds/sox Crypto.java SmartIssuer.java
PaymentFactory.java
Log:
diags only
Revision Changes Path
1.54 +7 -4 java/webfunds/sox/Crypto.java
Index: Crypto.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Crypto.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- Crypto.java 2001/01/05 23:45:39 1.53
+++ Crypto.java 2001/04/11 19:18:12 1.54
@@ -1,4 +1,4 @@
-/* $Id: Crypto.java,v 1.53 2001/01/05 23:45:39 iang Exp $
+/* $Id: Crypto.java,v 1.54 2001/04/11 19:18:12 iang Exp $
*
* Copyright (c) Systemics Inc. 1995-2000 on behalf of
* The WebFunds Development Team. All Rights Reserved.
@@ -60,7 +60,7 @@
*
* Centralized crypto methods. Currently being overhauled.
*
- * @version $Revision: 1.53 $
+ * @version $Revision: 1.54 $
*/
public final class Crypto
{
@@ -68,8 +68,11 @@
// Debug helper methods
//............................................................................
+ private static final String TAB = " ",
+ NL = "\n" + TAB;
+
private static void logDebug(String s) {
- System.err.println("Crypto: " + s);
+ System.err.println(TAB + "Crypto: " + s);
}
//............................................................................
@@ -186,7 +189,7 @@
*/
public static PublicKey getPublicKeyFromCert(Certificate cert)
{
- logDebug("getPublicKeyFromCert returns:\n" + cert.toString());
+ logDebug("getPublicKeyFromCert returns:" + NL + cert.toString());
return toCryptixKey( cert.getPublicKey() );
}
1.20 +2 -2 java/webfunds/sox/SmartIssuer.java
Index: SmartIssuer.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/SmartIssuer.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- SmartIssuer.java 2001/04/08 21:42:47 1.19
+++ SmartIssuer.java 2001/04/11 19:18:13 1.20
@@ -1,5 +1,5 @@
/*
- * $Id: SmartIssuer.java,v 1.19 2001/04/08 21:42:47 iang Exp $
+ * $Id: SmartIssuer.java,v 1.20 2001/04/11 19:18:13 iang Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -136,7 +136,7 @@
continue ;
}
urls.addElement(url);
- logmsg("ok " + stringURLs[i]);
+ logmsg(" (old) ok " + stringURLs[i]);
}
return urls;
}
1.11 +1 -2 java/webfunds/sox/PaymentFactory.java
Index: PaymentFactory.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/PaymentFactory.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- PaymentFactory.java 2001/03/19 02:00:01 1.10
+++ PaymentFactory.java 2001/04/11 19:18:13 1.11
@@ -1,4 +1,4 @@
-/* $Id: PaymentFactory.java,v 1.10 2001/03/19 02:00:01 iang Exp $
+/* $Id: PaymentFactory.java,v 1.11 2001/04/11 19:18:13 iang Exp $
*
* Copyright (c) 1995-2001 Systemics Inc. on behalf of
* The WebFunds Development Team. All Rights Reserved.
@@ -53,7 +53,6 @@
int typ = buf[1]; // within factory, type of AbstractPayment
int sv = buf[2]; // within AbstractPayment, subversion
String s = "fv=" + fv + ", f-type=" + typ + ", sv=" + sv;
-System.err.println("analysing payment: " + s);
/*
* First, check if it is the old pre-factory form of payment.