|
From: <pe...@us...> - 2003-12-10 23:58:55
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/signers/servlet
Modified Files:
DemoSigningServlet.java SigningServlet.java
Log Message:
Did some cleaning up in the builders
Fixed some stuff in IdentityCreator
New maven goal to create executable jarapp
We are close to 0.8 final of ID, 0.11 final of XMLSIG and 0.5 of commons.
Will release shortly.
Index: DemoSigningServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet/DemoSigningServlet.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** DemoSigningServlet.java 21 Nov 2003 04:45:14 -0000 1.10
--- DemoSigningServlet.java 10 Dec 2003 23:58:52 -0000 1.11
***************
*** 2,5 ****
--- 2,12 ----
* $Id$
* $Log$
+ * Revision 1.11 2003/12/10 23:58:52 pelle
+ * Did some cleaning up in the builders
+ * Fixed some stuff in IdentityCreator
+ * New maven goal to create executable jarapp
+ * We are close to 0.8 final of ID, 0.11 final of XMLSIG and 0.5 of commons.
+ * Will release shortly.
+ *
* Revision 1.10 2003/11/21 04:45:14 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 72,76 ****
* The email sender works. The LogSender and the SoapSender should work but havent been tested yet.
* The SignedNamedObject has a new log() method that logs it's contents at it's parent Identity's logger.
! * The Identity object also has a new method send() which allows one to send a named object to the Identity's
* default receiver.
*
--- 79,83 ----
* The email sender works. The LogSender and the SoapSender should work but havent been tested yet.
* The SignedNamedObject has a new log() method that logs it's contents at it's parent Identity's logger.
! * The Identity object also has a new method receive() which allows one to receive a named object to the Identity's
* default receiver.
*
Index: SigningServlet.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/servlet/SigningServlet.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SigningServlet.java 21 Nov 2003 04:45:14 -0000 1.15
--- SigningServlet.java 10 Dec 2003 23:58:52 -0000 1.16
***************
*** 2,5 ****
--- 2,12 ----
* $Id$
* $Log$
+ * Revision 1.16 2003/12/10 23:58:52 pelle
+ * Did some cleaning up in the builders
+ * Fixed some stuff in IdentityCreator
+ * New maven goal to create executable jarapp
+ * We are close to 0.8 final of ID, 0.11 final of XMLSIG and 0.5 of commons.
+ * Will release shortly.
+ *
* Revision 1.15 2003/11/21 04:45:14 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 12,16 ****
* 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.
--- 19,23 ----
* 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 receive 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.
***************
*** 92,96 ****
* The email sender works. The LogSender and the SoapSender should work but havent been tested yet.
* The SignedNamedObject has a new log() method that logs it's contents at it's parent Identity's logger.
! * The Identity object also has a new method send() which allows one to send a named object to the Identity's
* default receiver.
*
--- 99,103 ----
* The email sender works. The LogSender and the SoapSender should work but havent been tested yet.
* The SignedNamedObject has a new log() method that logs it's contents at it's parent Identity's logger.
! * The Identity object also has a new method receive() which allows one to receive a named object to the Identity's
* default receiver.
*
***************
*** 268,272 ****
named = sigreq.getUnsigned();
if (!Utility.isEmpty(request.getParameter("sign"))) {
! final String parent = NSTools.getParentNSURI(named.getName());
out.println("Signing with " + parent + "...");
out.flush();
--- 275,279 ----
named = sigreq.getUnsigned();
if (!Utility.isEmpty(request.getParameter("sign"))) {
! final String parent = NSTools.getSignatoryURI(named.getName());
out.println("Signing with " + parent + "...");
out.flush();
***************
*** 395,399 ****
if (!obj.isSigned()) {
try {
! String parentName = NSTools.getParentNSURI(obj.getName());
PrivateKey pk = signer.getKey(parentName, passphrase);
if (pk == null)
--- 402,406 ----
if (!obj.isSigned()) {
try {
! String parentName = NSTools.getSignatoryURI(obj.getName());
PrivateKey pk = signer.getKey(parentName, passphrase);
if (pk == null)
|