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

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Wed, 23 Aug 2000 22:02:09 -0400 (AST)


gelderen    00/08/23 22:02:09

  Modified:    webfunds/sox Crypto.java
  Log:
  Use Cryptix JCE ASN package.

Revision  Changes    Path
1.49      +4 -10     java/webfunds/sox/Crypto.java

Index: Crypto.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/Crypto.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- Crypto.java	2000/08/11 20:43:21	1.48
+++ Crypto.java	2000/08/24 02:02:08	1.49
@@ -1,4 +1,4 @@
-/* $Id: Crypto.java,v 1.48 2000/08/11 20:43:21 gelderen Exp $
+/* $Id: Crypto.java,v 1.49 2000/08/24 02:02:08 gelderen Exp $
  *
  * Copyright (c) Systemics Inc. 1995-2000 on behalf of
  * The WebFunds Development Team.  All Rights Reserved.
@@ -40,6 +40,8 @@
 import javax.crypto.NoSuchPaddingException;
 import javax.crypto.spec.IvParameterSpec;
 
+import cryptix.jce.provider.asn.*;
+
 import cryptix.openpgp.PGPPublicKey;
 import cryptix.openpgp.PGPSecretKey;
 import cryptix.openpgp.algorithm.PGPRSA;
@@ -49,14 +51,6 @@
 import cryptix.provider.rsa.RawRSAPublicKey;
 
 import webfunds.utils.Hex;
-import webfunds.x509.AsnAlgorithmId;
-import webfunds.x509.AsnInputStream;
-import webfunds.x509.AsnObject;
-import webfunds.x509.AsnObjectId;
-import webfunds.x509.AsnOutputStream;
-import webfunds.x509.AsnBitString;
-import webfunds.x509.AsnInteger;
-import webfunds.x509.AsnSequence;
 
 
 /**
@@ -64,7 +58,7 @@
  *
  * Centralized crypto methods. Currently being overhauled.
  *
- * @version $Revision: 1.48 $
+ * @version $Revision: 1.49 $
  */
 public final class Crypto
 {