|
From: <pe...@us...> - 2003-10-29 21:15:16
|
Update of /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger In directory sc8-pr-cvs1:/tmp/cvs-serv29261/src/java/org/neuclear/ledger Modified Files: Ledger.java LedgerFactory.java UnPostedTransaction.java Log Message: Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore. To use it you pass a byte array and an alias. The sign method then returns the signature. If a Signer needs a passphrase it uses a PassPhraseAgent to present a dialogue box, read it from a command line etc. This new Signer pattern allows us to use secure signing hardware such as N-Cipher in the future for server applications as well as SmartCards for end user applications. Index: Ledger.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/Ledger.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Ledger.java 28 Oct 2003 23:43:14 -0000 1.4 --- Ledger.java 29 Oct 2003 21:15:12 -0000 1.5 *************** *** 4,10 **** * $Id$ * $Log$ * Revision 1.4 2003/10/28 23:43:14 pelle ! * The PassPhraseDialogue now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two SignerStore implementations both use it for the passphrase. * * Revision 1.3 2003/10/25 00:39:05 pelle --- 4,17 ---- * $Id$ * $Log$ + * Revision 1.5 2003/10/29 21:15:12 pelle + * Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore. + * To use it you pass a byte array and an alias. The sign method then returns the signature. + * If a Signer needs a passphrase it uses a PassPhraseAgent to present a dialogue box, read it from a command line etc. + * This new Signer pattern allows us to use secure signing hardware such as N-Cipher in the future for server applications as well + * as SmartCards for end user applications. + * * Revision 1.4 2003/10/28 23:43:14 pelle ! * The GuiDialogAgent now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two Signer implementations both use it for the passphrase. * * Revision 1.3 2003/10/25 00:39:05 pelle Index: LedgerFactory.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/LedgerFactory.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LedgerFactory.java 28 Oct 2003 23:43:15 -0000 1.3 --- LedgerFactory.java 29 Oct 2003 21:15:13 -0000 1.4 *************** *** 8,14 **** * $Id$ * $Log$ * Revision 1.3 2003/10/28 23:43:15 pelle ! * The PassPhraseDialogue now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two SignerStore implementations both use it for the passphrase. * * Revision 1.2 2003/10/25 00:39:05 pelle --- 8,21 ---- * $Id$ * $Log$ + * Revision 1.4 2003/10/29 21:15:13 pelle + * Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore. + * To use it you pass a byte array and an alias. The sign method then returns the signature. + * If a Signer needs a passphrase it uses a PassPhraseAgent to present a dialogue box, read it from a command line etc. + * This new Signer pattern allows us to use secure signing hardware such as N-Cipher in the future for server applications as well + * as SmartCards for end user applications. + * * Revision 1.3 2003/10/28 23:43:15 pelle ! * The GuiDialogAgent now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two Signer implementations both use it for the passphrase. * * Revision 1.2 2003/10/25 00:39:05 pelle Index: UnPostedTransaction.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/UnPostedTransaction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** UnPostedTransaction.java 28 Oct 2003 23:43:15 -0000 1.3 --- UnPostedTransaction.java 29 Oct 2003 21:15:13 -0000 1.4 *************** *** 8,14 **** * $Id$ * $Log$ * Revision 1.3 2003/10/28 23:43:15 pelle ! * The PassPhraseDialogue now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two SignerStore implementations both use it for the passphrase. * * Revision 1.2 2003/10/01 17:35:53 pelle --- 8,21 ---- * $Id$ * $Log$ + * Revision 1.4 2003/10/29 21:15:13 pelle + * Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore. + * To use it you pass a byte array and an alias. The sign method then returns the signature. + * If a Signer needs a passphrase it uses a PassPhraseAgent to present a dialogue box, read it from a command line etc. + * This new Signer pattern allows us to use secure signing hardware such as N-Cipher in the future for server applications as well + * as SmartCards for end user applications. + * * Revision 1.3 2003/10/28 23:43:15 pelle ! * The GuiDialogAgent now works. It simply presents itself as a simple modal dialog box asking for a passphrase. ! * The two Signer implementations both use it for the passphrase. * * Revision 1.2 2003/10/01 17:35:53 pelle |