|
From: <pe...@us...> - 2003-10-29 21:15:16
|
Update of /cvsroot/neuclear/neuclear-ledger/src/test/org/neuclear/ledger In directory sc8-pr-cvs1:/tmp/cvs-serv29261/src/test/org/neuclear/ledger Modified Files: LedgerTest.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: LedgerTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/test/org/neuclear/ledger/LedgerTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LedgerTest.java 28 Oct 2003 23:43:15 -0000 1.2 --- LedgerTest.java 29 Oct 2003 21:15:13 -0000 1.3 *************** *** 15,22 **** * $Id$ * $Log$ ! * Revision 1.2 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.1.1.1 2003/09/20 23:16:21 pelle * First revision of neuclear-ledger in /cvsroot/neuclear --- 15,29 ---- * $Id$ * $Log$ ! * Revision 1.3 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.2 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. + * <p/> * Revision 1.1.1.1 2003/09/20 23:16:21 pelle * First revision of neuclear-ledger in /cvsroot/neuclear |