[Webfunds-commits] java/webfunds/client/contracts SignContractWizard.java
Jeroen C. van Gelderen
gelderen@cypherpunks.ai
Thu, 6 Jul 2000 13:14:56 -0400 (AST)
gelderen 00/07/06 13:14:56
Modified: webfunds/client/contracts SignContractWizard.java
Log:
Lobotomize the SignContractWizard for now. Complete removal is due later. This
is neccessary to be able to remove the X.509 code from WebFunds.
The X.509 contract signing wizard will be replaced with an OpenPGP one that is
in the works.
Revision Changes Path
1.18 +2 -10 java/webfunds/client/contracts/SignContractWizard.java
Index: SignContractWizard.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/SignContractWizard.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- SignContractWizard.java 2000/03/28 19:13:20 1.17
+++ SignContractWizard.java 2000/07/06 17:14:55 1.18
@@ -1,5 +1,5 @@
/*
- * $Id: SignContractWizard.java,v 1.17 2000/03/28 19:13:20 iang Exp $
+ * $Id: SignContractWizard.java,v 1.18 2000/07/06 17:14:55 gelderen Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -424,15 +424,7 @@
private boolean isSignedBy(CertPackage contractSigner, CertPackage primary)
{
- X509Cert primaryCert = primary.getCert();
- PublicKey primaryPub;
- primaryPub = Crypto.getPublicKeyFromCert(primaryCert);
- X509Cert contractCert = contractSigner.getCert();
-
- if (Crypto.verifyCertificate(contractCert, primaryPub))
- return true ;
-
- return false ;
+ throw new RuntimeException("Lobotomized");
}