|
From: <pe...@us...> - 2003-11-19 23:34:43
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv12836/src/java/org/neuclear/receiver
Modified Files:
Receiver.java
Removed Files:
RawReceiver.java
Log Message:
Signers now can generatekeys via the generateKey() method.
Refactored the relationship between SignedNamedObject and NamedObjectBuilder a bit.
SignedNamedObject now contains the full xml which is returned with getEncoded()
This means that it is now possible to further send on or process a SignedNamedObject, leaving
NamedObjectBuilder for its original purposes of purely generating new Contracts.
NamedObjectBuilder.sign() now returns a SignedNamedObject which is the prefered way of processing it.
Updated all major interfaces that used the old model to use the new model.
Index: Receiver.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/Receiver.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Receiver.java 11 Nov 2003 21:18:43 -0000 1.11
--- Receiver.java 19 Nov 2003 23:33:59 -0000 1.12
***************
*** 9,12 ****
--- 9,21 ----
* $Id$
* $Log$
+ * Revision 1.12 2003/11/19 23:33:59 pelle
+ * Signers now can generatekeys via the generateKey() method.
+ * Refactored the relationship between SignedNamedObject and NamedObjectBuilder a bit.
+ * SignedNamedObject now contains the full xml which is returned with getEncoded()
+ * This means that it is now possible to further send on or process a SignedNamedObject, leaving
+ * NamedObjectBuilder for its original purposes of purely generating new Contracts.
+ * NamedObjectBuilder.sign() now returns a SignedNamedObject which is the prefered way of processing it.
+ * Updated all major interfaces that used the old model to use the new model.
+ *
* Revision 1.11 2003/11/11 21:18:43 pelle
* Further vital reshuffling.
***************
*** 88,91 ****
--- 97,101 ----
*/
+ import org.neuclear.commons.NeuClearException;
import org.neuclear.id.SignedNamedObject;
***************
*** 104,107 ****
* @throws UnsupportedTransaction
*/
! org.neuclear.xml.ElementProxy receive(SignedNamedObject obj) throws UnsupportedTransaction;
}
--- 114,117 ----
* @throws UnsupportedTransaction
*/
! org.neuclear.xml.ElementProxy receive(SignedNamedObject obj) throws UnsupportedTransaction, NeuClearException;
}
--- RawReceiver.java DELETED ---
|