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

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Thu, 13 Jul 2000 17:11:15 -0400 (AST)


gelderen    00/07/13 17:11:15

  Modified:    webfunds/sox Account.java
  Log:
  Use an import statement instead of fully qualified class names.

Revision  Changes    Path
1.68      +5 -4      java/webfunds/sox/Account.java

Index: Account.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Account.java,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- Account.java	2000/07/06 19:39:23	1.67
+++ Account.java	2000/07/13 21:11:14	1.68
@@ -1,4 +1,4 @@
-/* $Id: Account.java,v 1.67 2000/07/06 19:39:23 gelderen Exp $
+/* $Id: Account.java,v 1.68 2000/07/13 21:11:14 gelderen Exp $
  *
  * Copyright (c) Systemics Inc. 1995-2000 on behalf of
  * The WebFunds Development Team. All rights reserved.
@@ -17,14 +17,16 @@
 import java.util.Hashtable;
 import java.util.Vector;
 
+import sun.security.x509.X509Cert;
 
+
 /**
  * This class contains all information needed about an
  * account in order to be able to generate authentication
  * information, except perhaps for holding a key passphrase,
  * which is not stored in the Store (only in a runtime object).
  *
- * @version $Revision: 1.67 $
+ * @version $Revision: 1.68 $
  * @author  Jeroen C. van Gelderen (gelderen@webfunds.org)
  * @author  Unknown
  */
@@ -378,8 +380,7 @@
         }
         else // 3 and earlier.  certs.  caused indeterminable exceptions
         {
-            sun.security.x509.X509Cert cert = new sun.security.x509.X509Cert(b);
-//import sun.security.x509.*;
+            X509Cert cert = new X509Cert(b);
             pubKey = Crypto.getPublicKeyFromCert(cert);
             try {
                 id = new AccountId(pubKey);