[Webfunds-commits] java/webfunds/client/contracts/wizard ContractFile.java

Ian Grigg iang@cypherpunks.ai
Thu, 9 Nov 2000 09:26:14 -0400 (AST)


iang        00/11/09 09:26:14

  Modified:    webfunds/client/contracts/wizard ContractFile.java
  Log:
  added additional doco block suggested by Rachel

Revision  Changes    Path
1.9       +39 -3     java/webfunds/client/contracts/wizard/ContractFile.java

Index: ContractFile.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/ContractFile.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ContractFile.java	2000/08/29 08:20:23	1.8
+++ ContractFile.java	2000/11/09 13:26:14	1.9
@@ -1,5 +1,5 @@
 /*
- * $Id: ContractFile.java,v 1.8 2000/08/29 08:20:23 edwin Exp $
+ * $Id: ContractFile.java,v 1.9 2000/11/09 13:26:14 iang Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -24,7 +24,7 @@
  * Panel that asks for the filename of the contract.
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
  */
 
 public class ContractFile extends SignContractWizardPanel 
@@ -107,9 +107,45 @@
         gridbag.setConstraints(but,c); add(but);
         
 
-        // Filler, makes sure the whole thing is aligned to the top
         c.gridheight = 1;      c.gridwidth = 2;
         c.gridy      = 3;      c.gridx     = 0;
+        c.weighty    = 0;      c.weightx   = 0;
+        c.fill       = GridBagConstraints.NONE;
+        c.anchor     = GridBagConstraints.WEST;
+        c.insets     = new Insets(5, 5, 5, 5);
+        lab = new JLabel("Things you will need"); 
+        gridbag.setConstraints(lab,c); add(lab);
+        
+        c.gridheight = 1;      c.gridwidth = 2;
+        c.gridy      = 4;      c.gridx     = 0;
+        c.weighty    = 0;      c.weightx   = 1;
+        c.fill       = GridBagConstraints.HORIZONTAL;
+        c.anchor     = GridBagConstraints.WEST;
+        c.insets     = new Insets(5, 5, 15, 5);
+        lab = new JLabel("<html><font size='-1'><b><p>"+
+              "In the remaining steps you will need two keys of your own: "+
+              "a top-level key with the text \"</b>[certification]<b>\" "+
+              "in the name, "+
+              "and a contract signing key with the text \"</b>[contract]<b>\" "+
+              "in the name "+
+              "(include the </b>[]<b> square brackets but not the quotes)."+
+              "</p><p>"+
+              "Both keys need to be OpenPGP compliant "+
+              "DSA signing keys (Diffie-Hellman rather than RSA) "+
+              "and both need to be self-signed."+
+              "Then sign the </b>[contract]<b> key with your top-level "+
+              " [certification] key. "+
+              "</p><p>"+
+              "You will also need the exported version of the [operator] key. "+
+              "This can be obtained by importing it from an existing signed "+
+              "contract into your keyring, and then exporting it."+
+                         "</p></b></font></html>"); 
+        gridbag.setConstraints(lab,c); add(lab);
+
+
+        // Filler, makes sure the whole thing is aligned to the top
+        c.gridheight = 1;      c.gridwidth = 2;
+        c.gridy      = 5;      c.gridx     = 0;
         c.weighty    = 1;      c.weightx   = 0;
         c.fill       = GridBagConstraints.NONE;
         c.anchor     = GridBagConstraints.CENTER;