|
From: Pelle B. <pe...@us...> - 2004-04-02 23:17:15
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4299/src/java/org/neuclear/id Modified Files: Signatory.java Log Message: Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Index: Signatory.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/Signatory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Signatory.java 1 Apr 2004 23:19:49 -0000 1.1 --- Signatory.java 2 Apr 2004 23:05:03 -0000 1.2 *************** *** 2,5 **** --- 2,9 ---- * $Id$ * $Log$ + * Revision 1.2 2004/04/02 23:05:03 pelle + * Got TransferOrder and Builder working with their test cases. + * Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. + * * Revision 1.1 2004/04/01 23:19:49 pelle * Split Identity into Signatory and Identity class. *************** *** 326,329 **** --- 330,334 ---- import org.neuclear.commons.crypto.Base32; import org.neuclear.commons.crypto.CryptoTools; + import org.neuclear.commons.crypto.keyresolvers.PublicKeyCache; import org.neuclear.id.resolver.Resolver; *************** *** 357,362 **** */ public Signatory(final PublicKey pub) { - this.pub = pub; this.id = Base32.encode(CryptoTools.digest(pub.getEncoded())); } --- 362,368 ---- */ public Signatory(final PublicKey pub) { this.id = Base32.encode(CryptoTools.digest(pub.getEncoded())); + this.pub = pub; + PublicKeyCache.cachePublicKey(pub); } |