|
From: <pe...@us...> - 2003-10-29 21:16:30
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id In directory sc8-pr-cvs1:/tmp/cvs-serv29589/src/java/org/neuclear/id Modified Files: Identity.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: Identity.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/Identity.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Identity.java 25 Oct 2003 00:39:54 -0000 1.9 --- Identity.java 29 Oct 2003 21:16:27 -0000 1.10 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.10 2003/10/29 21:16:27 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.9 2003/10/25 00:39:54 pelle * Fixed SmtpSender it now sends the messages. *************** *** 67,71 **** * * Revision 1.10 2003/02/18 00:06:15 pelle ! * Moved the SignerStore's into xml-sig * * Revision 1.9 2003/02/16 00:22:59 pelle --- 74,78 ---- * * Revision 1.10 2003/02/18 00:06:15 pelle ! * Moved the Signer's into xml-sig * * Revision 1.9 2003/02/16 00:22:59 pelle |