You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(119) |
Oct
(111) |
Nov
(238) |
Dec
(395) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(239) |
Feb
(59) |
Mar
(354) |
Apr
(489) |
May
(23) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
(14) |
Nov
(17) |
Dec
(9) |
| 2007 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(6) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(13) |
Nov
(35) |
Dec
(40) |
| 2009 |
Jan
(19) |
Feb
(21) |
Mar
(16) |
Apr
(18) |
May
(36) |
Jun
(20) |
Jul
(32) |
Aug
(11) |
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(13) |
| 2010 |
Jan
(5) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(3) |
| 2012 |
Jan
(3) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(8) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(8) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2013 |
Jan
(2) |
Feb
(1) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(5) |
Jul
(6) |
Aug
(7) |
Sep
(5) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
| 2014 |
Jan
(13) |
Feb
(4) |
Mar
(7) |
Apr
(9) |
May
(20) |
Jun
(13) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
| 2015 |
Jan
(3) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
(4) |
Dec
(2) |
| 2017 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <pe...@us...> - 2003-12-10 23:58:56
|
Update of /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/test/org/neuclear/id
Modified Files:
NSToolsTest.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: NSToolsTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/NSToolsTest.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** NSToolsTest.java 8 Dec 2003 19:32:33 -0000 1.13
--- NSToolsTest.java 10 Dec 2003 23:58:52 -0000 1.14
***************
*** 2,5 ****
--- 2,12 ----
$Id$
$Log$
+ Revision 1.14 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.13 2003/12/08 19:32:33 pelle
Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html
***************
*** 190,201 ****
public static void testFindParent() throws NeuClearException {
! assertEquals("neu://hello", NSTools.getParentNSURI("neu://hello/one"));
! assertEquals("neu://hello", NSTools.getParentNSURI("neu://one@hello"));
! assertEquals("neu://one@hello", NSTools.getParentNSURI("neu://one@hello/test"));
! assertEquals("neu://hello", NSTools.getParentNSURI("neu://hello/one"));
! assertEquals("neu://", NSTools.getParentNSURI("neu://hello"));
! assertEquals("neu://one@hello", NSTools.getParentNSURI("neu://one@hello!test"));
! assertEquals("neu://hello", NSTools.getParentNSURI("neu://hello!one"));
! assertEquals("neu://", NSTools.getParentNSURI("neu://"));
}
--- 197,208 ----
public static void testFindParent() throws NeuClearException {
! assertEquals("neu://hello", NSTools.getSignatoryURI("neu://hello/one"));
! assertEquals("neu://hello", NSTools.getSignatoryURI("neu://one@hello"));
! assertEquals("neu://one@hello", NSTools.getSignatoryURI("neu://one@hello/test"));
! assertEquals("neu://hello", NSTools.getSignatoryURI("neu://hello/one"));
! assertEquals("neu://", NSTools.getSignatoryURI("neu://hello"));
! assertEquals("neu://one@hello", NSTools.getSignatoryURI("neu://one@hello!test"));
! assertEquals("neu://hello", NSTools.getSignatoryURI("neu://hello!one"));
! assertEquals("neu://", NSTools.getSignatoryURI("neu://"));
}
***************
*** 215,219 ****
assertTrue(NSTools.isValidName(NSTools.createUniqueTransactionID("neu://bob@test.org", "neu://neuclear.org/test")));
}
! public static void testIsHttpScheme(){
assertNotNull(NSTools.isHttpScheme("neu://neuclear.org"));
assertNotNull(NSTools.isHttpScheme("neu://repository.neuclear.org"));
--- 222,227 ----
assertTrue(NSTools.isValidName(NSTools.createUniqueTransactionID("neu://bob@test.org", "neu://neuclear.org/test")));
}
!
! public static void testIsHttpScheme() {
assertNotNull(NSTools.isHttpScheme("neu://neuclear.org"));
assertNotNull(NSTools.isHttpScheme("neu://repository.neuclear.org"));
***************
*** 223,226 ****
--- 231,242 ----
assertNull(NSTools.isHttpScheme("neu://neuclear.org!sdfsdfdsf"));
+ }
+
+ public static void testGetLocal() throws NeuClearException {
+ assertEquals("test", NSTools.getLocalName("neu://test"));
+ assertEquals("test", NSTools.getLocalName("neu://test@no"));
+ assertEquals("test", NSTools.getLocalName("neu://no/test"));
+ assertEquals("test", NSTools.getLocalName("neu://no!test"));
+ assertEquals("test", NSTools.getLocalName("neu://no@no!test"));
}
}
|
|
From: <pe...@us...> - 2003-12-10 23:58:56
|
Update of /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/jce In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/test/org/neuclear/id/jce Modified Files: NeuClearJCETest.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: NeuClearJCETest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/jce/NeuClearJCETest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NeuClearJCETest.java 21 Nov 2003 04:45:17 -0000 1.5 --- NeuClearJCETest.java 10 Dec 2003 23:58:52 -0000 1.6 *************** *** 36,39 **** --- 36,46 ---- $Id$ $Log$ + Revision 1.6 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.5 2003/11/21 04:45:17 pelle EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 52,56 **** 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. --- 59,63 ---- 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. |
Update of /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/builders
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/test/org/neuclear/id/builders
Modified Files:
AuthenticationBuilderTest.java IdentityBuilderTest.java
SigningRequestBuilderTest.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: AuthenticationBuilderTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/builders/AuthenticationBuilderTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AuthenticationBuilderTest.java 21 Nov 2003 04:45:16 -0000 1.3
--- AuthenticationBuilderTest.java 10 Dec 2003 23:58:52 -0000 1.4
***************
*** 29,32 ****
--- 29,39 ----
$Id$
$Log$
+ Revision 1.4 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.3 2003/11/21 04:45:16 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 39,43 ****
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.
--- 46,50 ----
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.
***************
*** 62,66 ****
public final void testAuthenticate() throws NeuClearException, XMLException {
final AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://users.neuclear.org:8080");
! assertEquals(authreq.getParent().getName(), "neu://bob@test");
try {
final AuthenticationTicket auth = (AuthenticationTicket) authreq.sign(signer);
--- 69,73 ----
public final void testAuthenticate() throws NeuClearException, XMLException {
final AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://users.neuclear.org:8080");
! assertEquals(authreq.getSignatory().getName(), "neu://bob@test");
try {
final AuthenticationTicket auth = (AuthenticationTicket) authreq.sign(signer);
Index: IdentityBuilderTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/builders/IdentityBuilderTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** IdentityBuilderTest.java 22 Nov 2003 00:23:47 -0000 1.8
--- IdentityBuilderTest.java 10 Dec 2003 23:58:52 -0000 1.9
***************
*** 31,34 ****
--- 31,41 ----
$Id$
$Log$
+ Revision 1.9 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.8 2003/11/22 00:23:47 pelle
All unit tests in commons, id and xmlsec now work.
***************
*** 47,51 ****
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.
--- 54,58 ----
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 ****
"mailto:pe...@ne...");
! assertEquals("neu://test", NSTools.getParentNSURI(id.getName()));
final SignedNamedObject sec = id.sign(getSigner());
assertNotNull(sec);
--- 99,103 ----
"mailto:pe...@ne...");
! assertEquals("neu://test", NSTools.getSignatoryURI(id.getName()));
final SignedNamedObject sec = id.sign(getSigner());
assertNotNull(sec);
Index: SigningRequestBuilderTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/test/org/neuclear/id/builders/SigningRequestBuilderTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SigningRequestBuilderTest.java 21 Nov 2003 17:55:16 -0000 1.4
--- SigningRequestBuilderTest.java 10 Dec 2003 23:58:52 -0000 1.5
***************
*** 30,33 ****
--- 30,40 ----
$Id$
$Log$
+ Revision 1.5 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.4 2003/11/21 17:55:16 pelle
misc fixes
***************
*** 43,47 ****
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.
--- 50,54 ----
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.
***************
*** 67,71 ****
final AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://users.neuclear.org:8080");
final SignatureRequestBuilder sigreq = new SignatureRequestBuilder("neu://test", "neu://bob@test", authreq, "For testing purposes");
! assertEquals(sigreq.getParent().getName(), "neu://test");
try {
final SignatureRequest tosign = (SignatureRequest) sigreq.sign(signer);
--- 74,78 ----
final AuthenticationTicketBuilder authreq = new AuthenticationTicketBuilder("neu://bob@test", "neu://test", "http://users.neuclear.org:8080");
final SignatureRequestBuilder sigreq = new SignatureRequestBuilder("neu://test", "neu://bob@test", authreq, "For testing purposes");
! assertEquals(sigreq.getSignatory().getName(), "neu://test");
try {
final SignatureRequest tosign = (SignatureRequest) sigreq.sign(signer);
***************
*** 74,78 ****
final NamedObjectBuilder auth2 = tosign.getUnsigned();
! assertEquals(auth2.getParent().getName(), "neu://bob@test");
assertNotNull(auth2);
assertNotNull(auth2.getElement());
--- 81,85 ----
final NamedObjectBuilder auth2 = tosign.getUnsigned();
! assertEquals(auth2.getSignatory().getName(), "neu://bob@test");
assertNotNull(auth2);
assertNotNull(auth2.getElement());
|
|
From: <pe...@us...> - 2003-12-10 23:58:55
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/store Modified Files: EncryptedFileStore.java FileStore.java Store.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: EncryptedFileStore.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/EncryptedFileStore.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** EncryptedFileStore.java 8 Dec 2003 19:32:32 -0000 1.16 --- EncryptedFileStore.java 10 Dec 2003 23:58:52 -0000 1.17 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.17 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.16 2003/12/08 19:32:32 pelle * Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html *************** *** 22,26 **** * 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. --- 29,33 ---- * 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. *************** *** 238,242 **** protected final String getFileName(final String name) throws NeuClearException { final String deURLizedName = NSTools.normalizeNameURI(name); ! final byte[] hash = CryptoTools.formatAsBase36 (CryptoTools.digest256(deURLizedName.getBytes())).getBytes(); //if (true) return new String(hash); final int partlength = hash.length / 8; --- 245,249 ---- protected final String getFileName(final String name) throws NeuClearException { final String deURLizedName = NSTools.normalizeNameURI(name); ! final byte[] hash = CryptoTools.formatAsBase36(CryptoTools.digest256(deURLizedName.getBytes())).getBytes(); //if (true) return new String(hash); final int partlength = hash.length / 8; Index: FileStore.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/FileStore.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** FileStore.java 6 Dec 2003 00:17:04 -0000 1.16 --- FileStore.java 10 Dec 2003 23:58:52 -0000 1.17 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.17 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.16 2003/12/06 00:17:04 pelle * Updated various areas in NSTools. *************** *** 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 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. --- 26,30 ---- * 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. Index: Store.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/Store.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Store.java 21 Nov 2003 04:45:16 -0000 1.15 --- Store.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:16 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. |
|
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)
|
|
From: <pe...@us...> - 2003-12-10 23:58:55
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/senders
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/senders
Modified Files:
LogSender.java Sender.java SmtpSender.java SoapSender.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: LogSender.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/senders/LogSender.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** LogSender.java 21 Nov 2003 04:45:13 -0000 1.12
--- LogSender.java 10 Dec 2003 23:58:52 -0000 1.13
***************
*** 22,25 ****
--- 22,32 ----
* $Id$
* $Log$
+ * Revision 1.13 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.12 2003/11/21 04:45:13 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 27,40 ****
* Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
* This should hopefully make everything more stable (and secure).
! *
* Revision 1.11 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.10 2003/11/11 21:18:43 pelle
* Further vital reshuffling.
--- 34,47 ----
* Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
* This should hopefully make everything more stable (and secure).
! * <p/>
* Revision 1.11 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 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.
* Updated all major interfaces that used the old model to use the new model.
! * <p/>
* Revision 1.10 2003/11/11 21:18:43 pelle
* Further vital reshuffling.
***************
*** 95,99 ****
* 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.
*/
--- 102,106 ----
* 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.
*/
***************
*** 169,173 ****
Sender log = new LogSender();
System.out.print("Logging...");
! log.send(LOGGER, obj);
System.out.println("Done");
}
--- 176,180 ----
Sender log = new LogSender();
System.out.print("Logging...");
! log.receive(LOGGER, obj);
System.out.println("Done");
}
Index: Sender.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/senders/Sender.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Sender.java 21 Nov 2003 04:45:13 -0000 1.12
--- Sender.java 10 Dec 2003 23:58:52 -0000 1.13
***************
*** 8,11 ****
--- 8,18 ----
* $Id$
* $Log$
+ * Revision 1.13 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.12 2003/11/21 04:45:13 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 18,22 ****
* 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.
--- 25,29 ----
* 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.
***************
*** 111,115 ****
NameSpace pelle=(NameSpace)NamedObjectFactory.fetchNamedObject("neu://free/pelle");
NamedObject free=NamedObjectFactory.fetchNamedObject("neu://free");
! pelle.send(free);
} catch (NeuClearException e) {
e.printStackTrace(); //To change body of catch statement use Options | File Templates.
--- 118,122 ----
NameSpace pelle=(NameSpace)NamedObjectFactory.fetchNamedObject("neu://free/pelle");
NamedObject free=NamedObjectFactory.fetchNamedObject("neu://free");
! pelle.receive(free);
} catch (NeuClearException e) {
e.printStackTrace(); //To change body of catch statement use Options | File Templates.
Index: SmtpSender.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/senders/SmtpSender.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** SmtpSender.java 21 Nov 2003 04:45:13 -0000 1.14
--- SmtpSender.java 10 Dec 2003 23:58:52 -0000 1.15
***************
*** 8,11 ****
--- 8,18 ----
* $Id$
* $Log$
+ * Revision 1.15 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.14 2003/11/21 04:45:13 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 18,22 ****
* 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.
--- 25,29 ----
* 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.
***************
*** 100,104 ****
* 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.
*
--- 107,111 ----
* 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: SoapSender.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/senders/SoapSender.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** SoapSender.java 21 Nov 2003 04:45:13 -0000 1.13
--- SoapSender.java 10 Dec 2003 23:58:52 -0000 1.14
***************
*** 8,11 ****
--- 8,18 ----
* $Id$
* $Log$
+ * Revision 1.14 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.13 2003/11/21 04:45:13 pelle
* EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 18,22 ****
* 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.
--- 25,29 ----
* 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.
***************
*** 94,98 ****
* 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.
*
--- 101,105 ----
* 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.
*
|
|
From: <pe...@us...> - 2003-12-10 23:58:55
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/receiver Modified Files: Receiver.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: Receiver.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/receiver/Receiver.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Receiver.java 19 Nov 2003 23:33:59 -0000 1.12 --- Receiver.java 10 Dec 2003 23:58:51 -0000 1.13 *************** *** 9,17 **** * $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. --- 9,24 ---- * $Id$ * $Log$ + * Revision 1.13 2003/12/10 23:58:51 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.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 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. |
|
From: <pe...@us...> - 2003-12-10 23:58:55
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/id/tools/commandline
Modified Files:
BuildHttpIdentity.java CommandLineSigner.java
IdentityCreator.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: BuildHttpIdentity.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline/BuildHttpIdentity.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BuildHttpIdentity.java 9 Dec 2003 23:41:44 -0000 1.1
--- BuildHttpIdentity.java 10 Dec 2003 23:58:51 -0000 1.2
***************
*** 4,14 ****
import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.passphraseagents.GuiDialogAgent;
! import org.neuclear.commons.crypto.passphraseagents.CommandLineAgent;
! import org.neuclear.commons.crypto.signers.*;
! import org.neuclear.id.SignedNamedObject;
import org.neuclear.id.NSTools;
import org.neuclear.id.builders.IdentityBuilder;
- import org.neuclear.store.FileStore;
- import org.neuclear.store.Store;
import org.neuclear.xml.XMLException;
--- 4,11 ----
import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.passphraseagents.GuiDialogAgent;
! import org.neuclear.commons.crypto.signers.DefaultSigner;
! import org.neuclear.commons.crypto.signers.JCESigner;
import org.neuclear.id.NSTools;
import org.neuclear.id.builders.IdentityBuilder;
import org.neuclear.xml.XMLException;
***************
*** 36,39 ****
--- 33,43 ----
$Id$
$Log$
+ Revision 1.2 2003/12/10 23:58:51 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.1 2003/12/09 23:41:44 pelle
IdentityCreator is now the default class of the uber jar.
***************
*** 78,82 ****
public static void main(final String[] args) {
try {
! if (args.length<2){
System.err.println("Usage: java org.neuclear.id.tools.commandline.BuildHttpIdentity name receiver");
System.err.println("eg. java org.neuclear.id.tools.commandline.BuildHttpIdentity neu://neuclear.org mailto:bo...@ne...");
--- 82,86 ----
public static void main(final String[] args) {
try {
! if (args.length < 2) {
System.err.println("Usage: java org.neuclear.id.tools.commandline.BuildHttpIdentity name receiver");
System.err.println("eg. java org.neuclear.id.tools.commandline.BuildHttpIdentity neu://neuclear.org mailto:bo...@ne...");
***************
*** 85,89 ****
final JCESigner rootsig = new DefaultSigner(new GuiDialogAgent());
! createIdentity(args[0], rootsig,args[1]);
} catch (NeuClearException e) {
e.printStackTrace();
--- 89,93 ----
final JCESigner rootsig = new DefaultSigner(new GuiDialogAgent());
! createIdentity(args[0], rootsig, args[1]);
} catch (NeuClearException e) {
e.printStackTrace();
***************
*** 100,110 ****
}
! private static void createIdentity(final String name, final JCESigner rootsig,String receiver) throws NeuClearException, XMLException, IOException {
! System.out.println("Creating "+name);
String store = NSTools.isHttpScheme(name);
! boolean isTopLevel=!Utility.isEmpty(store);
if (!isTopLevel) {
// If this isn't a top level we will derive the repository from its parent.
! store=NSTools.isHttpScheme(NSTools.getParentNSURI(name));
}
final IdentityBuilder id = new IdentityBuilder(
--- 104,114 ----
}
! private static void createIdentity(final String name, final JCESigner rootsig, final String receiver) throws NeuClearException, XMLException, IOException {
! System.out.println("Creating " + name);
String store = NSTools.isHttpScheme(name);
! boolean isTopLevel = !Utility.isEmpty(store);
if (!isTopLevel) {
// If this isn't a top level we will derive the repository from its parent.
! store = NSTools.isHttpScheme(NSTools.getSignatoryURI(name));
}
final IdentityBuilder id = new IdentityBuilder(
***************
*** 114,126 ****
"http://localhost:11870/Signer",
"http://logger.neuclear.org",
! receiver);
System.out.println("Signing: " + name);
! id.sign((isTopLevel)?name:NSTools.getParentNSURI(name),rootsig);
! String filename = "_NEUID"+NSTools.name2path(name)+"/root.id";
! System.out.println("Saving to: "+filename);
! File fout=new File(filename);
fout.getParentFile().mkdirs();
! OutputStream os=new FileOutputStream(fout);
os.write(id.canonicalize());
os.close();
--- 118,130 ----
"http://localhost:11870/Signer",
"http://logger.neuclear.org",
! receiver);
System.out.println("Signing: " + name);
! id.sign((isTopLevel) ? name : NSTools.getSignatoryURI(name), rootsig);
! String filename = "_NEUID" + NSTools.name2path(name) + "/root.id";
! System.out.println("Saving to: " + filename);
! File fout = new File(filename);
fout.getParentFile().mkdirs();
! OutputStream os = new FileOutputStream(fout);
os.write(id.canonicalize());
os.close();
Index: CommandLineSigner.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline/CommandLineSigner.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CommandLineSigner.java 9 Dec 2003 23:41:44 -0000 1.1
--- CommandLineSigner.java 10 Dec 2003 23:58:51 -0000 1.2
***************
*** 1,4 ****
--- 1,11 ----
/* $Id$
* $Log$
+ * Revision 1.2 2003/12/10 23:58:51 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.1 2003/12/09 23:41:44 pelle
* IdentityCreator is now the default class of the uber jar.
***************
*** 103,107 ****
* 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.
*
--- 110,114 ----
* 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.
*
***************
*** 179,196 ****
import org.apache.commons.cli.*;
import org.dom4j.Document;
- import org.neuclear.commons.Utility;
import org.neuclear.commons.NeuClearException;
! import org.neuclear.commons.time.TimeTools;
! import org.neuclear.commons.configuration.Configuration;
! import org.neuclear.commons.configuration.ConfigurationException;
import org.neuclear.commons.crypto.CryptoTools;
import org.neuclear.commons.crypto.passphraseagents.CommandLineAgent;
- import org.neuclear.commons.crypto.signers.Signer;
import org.neuclear.commons.crypto.signers.DefaultSigner;
! import org.neuclear.id.SignedNamedObject;
! import org.neuclear.id.NSTools;
import org.neuclear.id.Identity;
! import org.neuclear.id.resolver.NSResolver;
import org.neuclear.id.builders.NamedObjectBuilder;
import org.neuclear.xml.XMLException;
import org.neuclear.xml.XMLTools;
--- 186,200 ----
import org.apache.commons.cli.*;
import org.dom4j.Document;
import org.neuclear.commons.NeuClearException;
! import org.neuclear.commons.Utility;
import org.neuclear.commons.crypto.CryptoTools;
import org.neuclear.commons.crypto.passphraseagents.CommandLineAgent;
import org.neuclear.commons.crypto.signers.DefaultSigner;
! import org.neuclear.commons.crypto.signers.Signer;
! import org.neuclear.commons.time.TimeTools;
import org.neuclear.id.Identity;
! import org.neuclear.id.NSTools;
import org.neuclear.id.builders.NamedObjectBuilder;
+ import org.neuclear.id.resolver.NSResolver;
import org.neuclear.xml.XMLException;
import org.neuclear.xml.XMLTools;
***************
*** 212,226 ****
cmd = clparser.parse(options, args);
checkArguments();
! if (cmd.hasOption('v')){
! String name=cmd.getOptionValue('v');
! System.out.println("Resolving and Verifying: "+name);
try {
! Identity id=NSResolver.resolveIdentity(name);
! if (id!=null){
! System.out.println("Signed Object: "+id.getName()+ " is verified");
! System.out.println("was signed at: "+TimeTools.formatTimeStamp(id.getTimeStamp()));
! System.out.println("Is of type: "+id.getClass().getName());
! System.out.println("repository: "+id.getRepository());
! System.out.println("signer: "+id.getSigner());
} else {
System.out.println("Couldnt Resolve or Verify the object.");
--- 216,230 ----
cmd = clparser.parse(options, args);
checkArguments();
! if (cmd.hasOption('v')) {
! String name = cmd.getOptionValue('v');
! System.out.println("Resolving and Verifying: " + name);
try {
! Identity id = NSResolver.resolveIdentity(name);
! if (id != null) {
! System.out.println("Signed Object: " + id.getName() + " is verified");
! System.out.println("was signed at: " + TimeTools.formatTimeStamp(id.getTimeStamp()));
! System.out.println("Is of type: " + id.getClass().getName());
! System.out.println("repository: " + id.getRepository());
! System.out.println("signer: " + id.getSigner());
} else {
System.out.println("Couldnt Resolve or Verify the object.");
***************
*** 236,241 ****
alias = cmd.getOptionValue("a");
of = cmd.getOptionValue("o");
! if (Utility.isEmpty(of)&&cmd.hasOption('i')){
! of=cmd.getOptionValue('i')+".id";
}
}
--- 240,245 ----
alias = cmd.getOptionValue("a");
of = cmd.getOptionValue("o");
! if (Utility.isEmpty(of) && cmd.hasOption('i')) {
! of = cmd.getOptionValue('i') + ".id";
}
}
***************
*** 255,259 ****
help.printHelp("java " +
this.getClass().getName() +
! getExtraHelp()+" [--outputfile signed/test.id] " , options);
System.exit(1);
}
--- 259,263 ----
help.printHelp("java " +
this.getClass().getName() +
! getExtraHelp() + " [--outputfile signed/test.id] ", options);
System.exit(1);
}
***************
*** 265,269 ****
protected boolean hasArguments() {
! return cmd.hasOption("i")||cmd.hasOption('v');
}
--- 269,273 ----
protected boolean hasArguments() {
! return cmd.hasOption("i") || cmd.hasOption('v');
}
***************
*** 275,280 ****
if (!sig.canSignFor(alias)) {
if (!Utility.isEmpty(of))
! of=subject.getLocalName()+".xml";
! System.err.println("Key with alias: " + alias + " doesnt exist in our keystore. \nSaving unsigned Identity as: "+of);
} else {
System.err.println("Signing by " + alias + " ...");
--- 279,284 ----
if (!sig.canSignFor(alias)) {
if (!Utility.isEmpty(of))
! of = subject.getLocalName() + ".xml";
! System.err.println("Key with alias: " + alias + " doesnt exist in our keystore. \nSaving unsigned Identity as: " + of);
} else {
System.err.println("Signing by " + alias + " ...");
***************
*** 305,308 ****
--- 309,316 ----
if (!Utility.isEmpty(sf)) {
source = new FileInputStream(sf);
+ if (Utility.isEmpty(of)) {
+ int loc = sf.lastIndexOf(".");
+ of = sf.substring(0, loc) + ".id";
+ }
}
final Document doc = XMLTools.loadDocument(source);
***************
*** 310,328 ****
if (Utility.isEmpty(alias)) {
! alias = Utility.denullString(NSTools.isHttpScheme(subject.getName()),NSTools.getParentNSURI(subject.getName()));
}
if (!sig.canSignFor(alias)) {
! System.err.println("You can not sign as " +alias+ " with your current keystore.");
System.exit(1);
}
System.out.println("You are about to sign the following Contract. Please make sure that is what you want.");
! System.out.println("Type: "+subject.getTagName());
! System.out.println("Proposed Name: "+subject.getName());
System.out.println("Raw XML:\n===================");
System.out.println(subject.asXML());
System.out.print("===================\nAre you shure you wish to sign this? (y/N) ");
! String answer=new jline.ConsoleReader().readLine();
if (!answer.toLowerCase().equals("y")) {
System.out.println("Aborted Signing Process");
--- 318,336 ----
if (Utility.isEmpty(alias)) {
! alias = Utility.denullString(NSTools.isHttpScheme(subject.getName()), NSTools.getSignatoryURI(subject.getName()));
}
if (!sig.canSignFor(alias)) {
! System.err.println("You can not sign as " + alias + " with your current keystore.");
System.exit(1);
}
System.out.println("You are about to sign the following Contract. Please make sure that is what you want.");
! System.out.println("Type: " + subject.getTagName());
! System.out.println("Proposed Name: " + subject.getName());
System.out.println("Raw XML:\n===================");
System.out.println(subject.asXML());
System.out.print("===================\nAre you shure you wish to sign this? (y/N) ");
! String answer = new jline.ConsoleReader().readLine();
if (!answer.toLowerCase().equals("y")) {
System.out.println("Aborted Signing Process");
Index: IdentityCreator.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/tools/commandline/IdentityCreator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IdentityCreator.java 9 Dec 2003 23:41:44 -0000 1.1
--- IdentityCreator.java 10 Dec 2003 23:58:51 -0000 1.2
***************
*** 1,4 ****
--- 1,11 ----
/* $Id$
* $Log$
+ * Revision 1.2 2003/12/10 23:58:51 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.1 2003/12/09 23:41:44 pelle
* IdentityCreator is now the default class of the uber jar.
***************
*** 107,111 ****
* 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.
*
--- 114,118 ----
* 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.
*
***************
*** 189,196 ****
import org.neuclear.id.builders.IdentityBuilder;
import org.neuclear.id.builders.NamedObjectBuilder;
- import org.neuclear.id.resolver.NSResolver;
import org.neuclear.senders.LogSender;
- import java.io.File;
import java.security.PublicKey;
--- 196,201 ----
***************
*** 210,216 ****
// if (!cachedir.exists())
// cachedir.mkdirs();
! if (!Utility.isEmpty(identity)){
of = Utility.denullString(of, "_NEUID" + NSTools.name2path(identity) + "/root.id");
! alias = Utility.denullString(alias, NSTools.getParentNSURI(identity));
}
--- 215,221 ----
// if (!cachedir.exists())
// cachedir.mkdirs();
! if (!Utility.isEmpty(identity)) {
of = Utility.denullString(of, "_NEUID" + NSTools.name2path(identity) + "/root.id");
! alias = Utility.denullString(alias, NSTools.getSignatoryURI(identity));
}
***************
*** 219,234 ****
public final NamedObjectBuilder build() throws Exception {
! NamedObjectBuilder subject=null;
if (cmd.hasOption('i')) {//If we have an input file we load that instead of creating a new one
! subject= super.build();
! identity=subject.getName();
}
String store = NSTools.isHttpScheme(identity);
! boolean isTopLevel=!Utility.isEmpty(store);
if (!isTopLevel) {
// If this isn't a top level we will derive the repository from its parent.
! store=NSTools.isHttpScheme(NSTools.getParentNSURI(identity));
}
! alias=(isTopLevel)?identity:NSTools.getParentNSURI(identity);
final String allow = Utility.denullString(cmd.getOptionValue("w"), identity);
final String defaultstore = Utility.denullString(cmd.getOptionValue("r"), store);
--- 224,239 ----
public final NamedObjectBuilder build() throws Exception {
! NamedObjectBuilder subject = null;
if (cmd.hasOption('i')) {//If we have an input file we load that instead of creating a new one
! subject = super.build();
! identity = subject.getName();
}
String store = NSTools.isHttpScheme(identity);
! boolean isTopLevel = !Utility.isEmpty(store);
if (!isTopLevel) {
// If this isn't a top level we will derive the repository from its parent.
! store = NSTools.isHttpScheme(NSTools.getSignatoryURI(identity));
}
! alias = (isTopLevel) ? identity : NSTools.getSignatoryURI(identity);
final String allow = Utility.denullString(cmd.getOptionValue("w"), identity);
final String defaultstore = Utility.denullString(cmd.getOptionValue("r"), store);
***************
*** 258,262 ****
protected final boolean hasArguments() {
! return (cmd.hasOption("i")||cmd.hasOption('v')||(cmd.hasOption("n") && cmd.hasOption("b")));
}
--- 263,267 ----
protected final boolean hasArguments() {
! return (cmd.hasOption("i") || cmd.hasOption('v') || (cmd.hasOption("n") && cmd.hasOption("b")));
}
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/id/builders Modified Files: AuthenticationTicketBuilder.java IdentityBuilder.java NamedObjectBuilder.java SignatureRequestBuilder.java TargetReference.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: AuthenticationTicketBuilder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/AuthenticationTicketBuilder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AuthenticationTicketBuilder.java 6 Dec 2003 00:17:03 -0000 1.4 --- AuthenticationTicketBuilder.java 10 Dec 2003 23:58:51 -0000 1.5 *************** *** 31,34 **** --- 31,41 ---- $Id$ $Log$ + Revision 1.5 2003/12/10 23:58:51 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.4 2003/12/06 00:17:03 pelle Updated various areas in NSTools. *************** *** 52,56 **** Revision 1.1 2003/11/06 20:01:53 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to send unsigned NamedObjectBuilders to interactive signing services. */ --- 59,63 ---- Revision 1.1 2003/11/06 20:01:53 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to receive unsigned NamedObjectBuilders to interactive signing services. */ Index: IdentityBuilder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/IdentityBuilder.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** IdentityBuilder.java 8 Dec 2003 19:32:31 -0000 1.9 --- IdentityBuilder.java 10 Dec 2003 23:58:51 -0000 1.10 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.10 2003/12/10 23:58:51 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.9 2003/12/08 19:32:31 pelle * Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html *************** *** 62,66 **** * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method send() which allows one to send a named object to the NameSpace's * default receiver. * --- 69,73 ---- * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method receive() which allows one to receive a named object to the NameSpace's * default receiver. * *************** *** 174,182 **** import org.dom4j.Element; import org.dom4j.QName; - import org.neuclear.id.Identity; - import org.neuclear.id.NSTools; - import org.neuclear.commons.Utility; import org.neuclear.commons.NeuClearException; ! import org.neuclear.xml.XMLException; import org.neuclear.xml.xmlsec.XMLSecTools; import org.neuclear.xml.xmlsec.XMLSecurityException; --- 181,187 ---- import org.dom4j.Element; import org.dom4j.QName; import org.neuclear.commons.NeuClearException; ! import org.neuclear.commons.Utility; ! import org.neuclear.id.NSTools; import org.neuclear.xml.xmlsec.XMLSecTools; import org.neuclear.xml.xmlsec.XMLSecurityException; *************** *** 184,191 **** import java.security.PublicKey; ! public class IdentityBuilder extends NamedObjectBuilder { /** * It creates a Standard Identity document, but doesn't sign it. * @param name The Name of Identity * @param allow PublicKey allowed to sign in here --- 189,197 ---- import java.security.PublicKey; ! public class IdentityBuilder extends NamedObjectBuilder { /** * It creates a Standard Identity document, but doesn't sign it. + * * @param name The Name of Identity * @param allow PublicKey allowed to sign in here *************** *** 196,204 **** public IdentityBuilder(final String name, final PublicKey allow, final String repository, final String signer, final String logger, final String receiver) throws NeuClearException { ! this(DocumentHelper.createQName("Identity",NSTools.NS_NEUID), name,allow,repository,signer,logger,receiver); } /** * This constructor should be used by subclasses of Identity. It creates a Standard Identity document, but doesn't sign it. * @param tag The Tag used by this sub class * @param name The Name of Identity --- 202,212 ---- public IdentityBuilder(final String name, final PublicKey allow, final String repository, final String signer, final String logger, final String receiver) throws NeuClearException { ! this(DocumentHelper.createQName("Identity", NSTools.NS_NEUID), name, allow, repository, signer, logger, receiver); } + /** * This constructor should be used by subclasses of Identity. It creates a Standard Identity document, but doesn't sign it. + * * @param tag The Tag used by this sub class * @param name The Name of Identity *************** *** 208,212 **** * @param receiver URL of default receiver for namespace */ ! protected IdentityBuilder(final QName tag,final String name, final PublicKey allow, final String repository, final String signer, final String logger, final String receiver) throws NeuClearException { super(name, tag); --- 216,220 ---- * @param receiver URL of default receiver for namespace */ ! protected IdentityBuilder(final QName tag, final String name, final PublicKey allow, final String repository, final String signer, final String logger, final String receiver) throws NeuClearException { super(name, tag); Index: NamedObjectBuilder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/NamedObjectBuilder.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** NamedObjectBuilder.java 8 Dec 2003 19:32:31 -0000 1.15 --- NamedObjectBuilder.java 10 Dec 2003 23:58:51 -0000 1.16 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.16 2003/12/10 23:58:51 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/12/08 19:32:31 pelle * Added support for the http scheme into ID. See http://neuclear.org/archives/000195.html *************** *** 33,37 **** * 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. --- 40,44 ---- * 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. *************** *** 83,87 **** * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method send() which allows one to send a named object to the NameSpace's * default receiver. * --- 90,94 ---- * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method receive() which allows one to receive a named object to the NameSpace's * default receiver. * *************** *** 205,211 **** import java.sql.Timestamp; - import java.util.Iterator; - import java.util.LinkedList; - import java.util.List; /** --- 212,215 ---- *************** *** 213,217 **** */ public class NamedObjectBuilder extends SignedElement implements Named, Cloneable { ! public NamedObjectBuilder(final String name, final String tagName, final String prefix, final String nsURI) throws NeuClearException { super(tagName, prefix, nsURI); createDocument(); --- 217,221 ---- */ public class NamedObjectBuilder extends SignedElement implements Named, Cloneable { ! protected NamedObjectBuilder(final String name, final String tagName, final String prefix, final String nsURI) throws NeuClearException { super(tagName, prefix, nsURI); createDocument(); *************** *** 219,223 **** } ! public NamedObjectBuilder(final String name, final String tagName, final Namespace ns) throws NeuClearException { super(tagName, ns); createDocument(); --- 223,227 ---- } ! protected NamedObjectBuilder(final String name, final String tagName, final Namespace ns) throws NeuClearException { super(tagName, ns); createDocument(); *************** *** 225,229 **** } ! public NamedObjectBuilder(final String name, final String tagName) throws NeuClearException { super(tagName, NSTools.NS_NEUID); createDocument(); --- 229,233 ---- } ! protected NamedObjectBuilder(final String name, final String tagName) throws NeuClearException { super(tagName, NSTools.NS_NEUID); createDocument(); *************** *** 231,235 **** } ! public NamedObjectBuilder(final String name, final QName qname) throws NeuClearException { super(qname); createDocument(); --- 235,239 ---- } ! protected NamedObjectBuilder(final String name, final QName qname) throws NeuClearException { super(qname); createDocument(); *************** *** 239,243 **** public NamedObjectBuilder(final Element elem) throws XMLSecurityException { super(elem); ! //TODO Load targets } --- 243,247 ---- public NamedObjectBuilder(final Element elem) throws XMLSecurityException { super(elem); ! } *************** *** 254,258 **** final public SignedNamedObject sign(final Signer signer) throws NeuClearException, XMLException { ! sign(getParent().getName(), signer); //Sign with parent key return VerifyingReader.getInstance().read(getElement()); } --- 258,267 ---- final public SignedNamedObject sign(final Signer signer) throws NeuClearException, XMLException { ! sign(getSignatory().getName(), signer); //Sign with parent key ! return convert(); ! } ! ! private SignedNamedObject convert() throws NeuClearException, XMLException { ! return VerifyingReader.getInstance().read(getElement()); } *************** *** 272,279 **** * @return Parent Name */ ! public final String getLocalName() { ! final String fullName = getName(); ! final int i = fullName.lastIndexOf('/'); ! return fullName.substring(i + 1); } --- 281,286 ---- * @return Parent Name */ ! public final String getLocalName() throws NeuClearException { ! return NSTools.getLocalName(getName()); } *************** *** 328,331 **** --- 335,339 ---- * @param target object */ + /* public final void addTarget(final TargetReference target) throws NeuClearException { if (target == null) *************** *** 346,349 **** --- 354,358 ---- return targets; } + */ /** *************** *** 352,362 **** --- 361,388 ---- * @return Iterator of targets */ + /* public final Iterator listTargets() throws NeuClearException { return targetList().iterator(); } + */ /** * Sends copy of object to all targets within + * <p/> + * public final void sendObject() throws NeuClearException { + * System.out.println("NEUDIST: Sending Object " + getName()); + * <p/> + * if (this.isSigned()) { + * final Iterator iter = listTargets(); + * while (iter.hasNext()) { + * final TargetReference tg = ((TargetReference) iter.next()); + * System.out.println("NEUDIST: Sent to " + tg.getHref()); + * } + * <p/> + * } + * <p/> + * } */ + /* public final void sendObject() throws NeuClearException { System.out.println("NEUDIST: Sending Object " + getName()); *************** *** 372,375 **** --- 398,402 ---- } + */ public final Timestamp getTimeStamp() throws NeuClearException { *************** *** 389,394 **** ! public final Identity getParent() throws NeuClearException { ! return NSResolver.resolveIdentity(NSTools.getParentNSURI(getName())); } --- 416,421 ---- ! public final Identity getSignatory() throws NeuClearException { ! return NSResolver.resolveIdentity(NSTools.getSignatoryURI(getName())); } *************** *** 455,461 **** } } - - private List targets; - } --- 482,485 ---- Index: SignatureRequestBuilder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/SignatureRequestBuilder.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SignatureRequestBuilder.java 6 Dec 2003 00:17:03 -0000 1.4 --- SignatureRequestBuilder.java 10 Dec 2003 23:58:51 -0000 1.5 *************** *** 28,31 **** --- 28,38 ---- $Id$ $Log$ + Revision 1.5 2003/12/10 23:58:51 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.4 2003/12/06 00:17:03 pelle Updated various areas in NSTools. *************** *** 49,53 **** Revision 1.1 2003/11/06 20:01:54 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to send unsigned NamedObjectBuilders to interactive signing services. */ --- 56,60 ---- Revision 1.1 2003/11/06 20:01:54 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to receive unsigned NamedObjectBuilders to interactive signing services. */ Index: TargetReference.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/TargetReference.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TargetReference.java 21 Nov 2003 04:45:10 -0000 1.6 --- TargetReference.java 10 Dec 2003 23:58:51 -0000 1.7 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.7 2003/12/10 23:58:51 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.6 2003/11/21 04:45:10 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. *************** *** 45,49 **** * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method send() which allows one to send a named object to the NameSpace's * default receiver. * --- 52,56 ---- * The email sender works. The LogSender and the SoapSender should work but havent been tested yet. * The NamedObject has a new log() method that logs it's contents at it's parent NameSpace's logger. ! * The NameSpace object also has a new method receive() which allows one to receive a named object to the NameSpace's * default receiver. * |
|
From: <pe...@us...> - 2003-12-10 23:58:54
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/verifier In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/id/verifier Modified Files: VerifyingReader.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: VerifyingReader.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/verifier/VerifyingReader.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** VerifyingReader.java 22 Nov 2003 00:23:46 -0000 1.14 --- VerifyingReader.java 10 Dec 2003 23:58:51 -0000 1.15 *************** *** 32,35 **** --- 32,42 ---- $Id$ $Log$ + Revision 1.15 2003/12/10 23:58:51 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.14 2003/11/22 00:23:46 pelle All unit tests in commons, id and xmlsec now work. *************** *** 62,66 **** 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. --- 69,73 ---- 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. *************** *** 82,86 **** Revision 1.6 2003/11/06 20:01:54 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to send unsigned NamedObjectBuilders to interactive signing services. Revision 1.5 2003/10/25 00:39:54 pelle --- 89,93 ---- Revision 1.6 2003/11/06 20:01:54 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to receive unsigned NamedObjectBuilders to interactive signing services. Revision 1.5 2003/10/25 00:39:54 pelle |
|
From: <pe...@us...> - 2003-12-10 23:58:54
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/resolver
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/id/resolver
Modified Files:
NSResolver.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: NSResolver.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/resolver/NSResolver.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** NSResolver.java 8 Dec 2003 19:32:31 -0000 1.13
--- NSResolver.java 10 Dec 2003 23:58:51 -0000 1.14
***************
*** 2,6 ****
import org.neuclear.commons.NeuClearException;
- import org.neuclear.commons.Utility;
import org.neuclear.id.Identity;
import org.neuclear.id.InvalidNamedObject;
--- 2,5 ----
***************
*** 10,16 ****
import org.neuclear.source.Source;
- import java.util.regex.Matcher;
- import java.util.regex.Pattern;
-
/**
* Secure Identity resolver. To get an Identity object simply do:
--- 9,12 ----
***************
*** 56,70 ****
return obj;
! final String parentname = NSTools.getParentNSURI(name);
if (parentname == null || name.equals("neu://"))
return Identity.NEUROOT;
! String store=NSTools.isHttpScheme(name);
! if (store==null) {
final Identity parent = resolveIdentity(parentname);
store = parent.getRepository();
}
! obj = (Identity) Source.getInstance().fetch(store, name);
if (obj == null)
throw new NeuClearException("Identity: " + name + " was not resolved");
--- 52,66 ----
return obj;
! final String parentname = NSTools.getSignatoryURI(name);
if (parentname == null || name.equals("neu://"))
return Identity.NEUROOT;
! String store = NSTools.isHttpScheme(name);
! if (store == null) {
final Identity parent = resolveIdentity(parentname);
store = parent.getRepository();
}
! obj = Source.getInstance().fetch(store, name);
if (obj == null)
throw new NeuClearException("Identity: " + name + " was not resolved");
|
|
From: <pe...@us...> - 2003-12-10 23:58:54
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/cache
In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/id/cache
Modified Files:
NSCache.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: NSCache.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/cache/NSCache.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** NSCache.java 21 Nov 2003 04:45:10 -0000 1.6
--- NSCache.java 10 Dec 2003 23:58:51 -0000 1.7
***************
*** 3,10 ****
import com.waterken.adt.NoSuchElement;
import com.waterken.adt.cache.Cache;
! import org.neuclear.id.NSTools;
import org.neuclear.id.Identity;
import org.neuclear.id.SignedNamedObject;
- import org.neuclear.commons.NeuClearException;
/**
--- 3,10 ----
import com.waterken.adt.NoSuchElement;
import com.waterken.adt.cache.Cache;
! import org.neuclear.commons.NeuClearException;
import org.neuclear.id.Identity;
+ import org.neuclear.id.NSTools;
import org.neuclear.id.SignedNamedObject;
/**
***************
*** 25,28 ****
--- 25,29 ----
/**
* Attempts to get a verified PublicKey for the given name from the cache
+ *
* @param name Fully Normalised name
* @return a valid Identity object if found otherwise null
***************
*** 38,42 ****
public void cache(final SignedNamedObject ns) throws NeuClearException {
// Only store if it's parent is already here
! final String parentName = NSTools.getParentNSURI(ns.getName());
if ((fetchCached(parentName) != null) || (parentName.equals("neu://"))) {
spaces.put(ns.getName(), ns);
--- 39,43 ----
public void cache(final SignedNamedObject ns) throws NeuClearException {
// Only store if it's parent is already here
! final String parentName = NSTools.getSignatoryURI(ns.getName());
if ((fetchCached(parentName) != null) || (parentName.equals("neu://"))) {
spaces.put(ns.getName(), ns);
|
|
From: <pe...@us...> - 2003-12-10 23:58:54
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth In directory sc8-pr-cvs1:/tmp/cvs-serv1921/src/java/org/neuclear/auth Modified Files: AuthenticationServlet.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: AuthenticationServlet.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/auth/AuthenticationServlet.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** AuthenticationServlet.java 21 Nov 2003 04:45:10 -0000 1.6 --- AuthenticationServlet.java 10 Dec 2003 23:58:51 -0000 1.7 *************** *** 43,46 **** --- 43,53 ---- $Id$ $Log$ + Revision 1.7 2003/12/10 23:58:51 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.6 2003/11/21 04:45:10 pelle EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 67,71 **** Revision 1.1 2003/11/06 20:01:52 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to send unsigned NamedObjectBuilders to interactive signing services. */ --- 74,78 ---- Revision 1.1 2003/11/06 20:01:52 pelle Implemented AuthenticationTicket and friends to comply with the newer model. ! Created SignatureRequest and friends to receive unsigned NamedObjectBuilders to interactive signing services. */ |
|
From: <pe...@us...> - 2003-12-10 23:57:08
|
Update of /cvsroot/neuclear/neuclear-xmlsig
In directory sc8-pr-cvs1:/tmp/cvs-serv1773
Modified Files:
project.xml
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: project.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/project.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** project.xml 28 Nov 2003 00:12:36 -0000 1.6
--- project.xml 10 Dec 2003 23:57:05 -0000 1.7
***************
*** 4,8 ****
<name>NeuDist XML Signature API</name>
<id>neuclear-xmlsig</id>
! <currentVersion>0.11-SNAPSHOT</currentVersion>
<inceptionYear>2002</inceptionYear>
<package>org.neuclear</package>
--- 4,8 ----
<name>NeuDist XML Signature API</name>
<id>neuclear-xmlsig</id>
! <currentVersion>0.11</currentVersion>
<inceptionYear>2002</inceptionYear>
<package>org.neuclear</package>
***************
*** 76,80 ****
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.5-SNAPSHOT</version>
<properties>
<war.bundle>true</war.bundle>
--- 76,80 ----
<id>neuclear-commons</id>
<name>neuclear-commons</name>
! <version>0.5</version>
<properties>
<war.bundle>true</war.bundle>
|
|
From: <pe...@us...> - 2003-12-10 23:57:08
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/xmlsec In directory sc8-pr-cvs1:/tmp/cvs-serv1773/src/java/org/neuclear/xml/xmlsec Modified Files: Reference.java SignedElement.java XMLSignature.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: Reference.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/xmlsec/Reference.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Reference.java 21 Nov 2003 04:44:31 -0000 1.3 --- Reference.java 10 Dec 2003 23:57:05 -0000 1.4 *************** *** 1,4 **** --- 1,11 ---- /* $Id$ * $Log$ + * Revision 1.4 2003/12/10 23:57:05 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.3 2003/11/21 04:44:31 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 11,15 **** * 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. --- 18,22 ---- * 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. Index: SignedElement.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/xmlsec/SignedElement.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SignedElement.java 21 Nov 2003 04:44:31 -0000 1.4 --- SignedElement.java 10 Dec 2003 23:57:05 -0000 1.5 *************** *** 1,4 **** --- 1,11 ---- /* $Id$ * $Log$ + * Revision 1.5 2003/12/10 23:57:05 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.4 2003/11/21 04:44:31 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 11,15 **** * 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. --- 18,22 ---- * 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. Index: XMLSignature.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/xmlsec/XMLSignature.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XMLSignature.java 21 Nov 2003 04:44:31 -0000 1.3 --- XMLSignature.java 10 Dec 2003 23:57:05 -0000 1.4 *************** *** 1,4 **** --- 1,11 ---- /* $Id$ * $Log$ + * Revision 1.4 2003/12/10 23:57:05 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.3 2003/11/21 04:44:31 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 11,15 **** * 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. --- 18,22 ---- * 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. |
|
From: <pe...@us...> - 2003-12-10 23:57:08
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml In directory sc8-pr-cvs1:/tmp/cvs-serv1773/src/java/org/neuclear/xml Modified Files: AbstractElementProxy.java XMLTools.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: AbstractElementProxy.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/AbstractElementProxy.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AbstractElementProxy.java 21 Nov 2003 04:44:31 -0000 1.3 --- AbstractElementProxy.java 10 Dec 2003 23:57:05 -0000 1.4 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.4 2003/12/10 23:57:05 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.3 2003/11/21 04:44:31 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. Index: XMLTools.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/XMLTools.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XMLTools.java 21 Nov 2003 04:44:31 -0000 1.3 --- XMLTools.java 10 Dec 2003 23:57:05 -0000 1.4 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.4 2003/12/10 23:57:05 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.3 2003/11/21 04:44:31 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. |
|
From: <pe...@us...> - 2003-12-10 23:57:08
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap In directory sc8-pr-cvs1:/tmp/cvs-serv1773/src/java/org/neuclear/xml/soap Modified Files: SOAPTools.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: SOAPTools.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/soap/SOAPTools.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SOAPTools.java 24 Nov 2003 23:33:15 -0000 1.4 --- SOAPTools.java 10 Dec 2003 23:57:05 -0000 1.5 *************** *** 1,4 **** --- 1,11 ---- /* $Id$ * $Log$ + * Revision 1.5 2003/12/10 23:57:05 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.4 2003/11/24 23:33:15 pelle * More Cactus unit testing going on. *************** *** 14,18 **** * 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. --- 21,25 ---- * 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. |
|
From: <pe...@us...> - 2003-12-10 23:57:08
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/c14 In directory sc8-pr-cvs1:/tmp/cvs-serv1773/src/java/org/neuclear/xml/c14 Modified Files: Canonicalizer.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: Canonicalizer.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/c14/Canonicalizer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Canonicalizer.java 21 Nov 2003 04:44:30 -0000 1.3 --- Canonicalizer.java 10 Dec 2003 23:57:04 -0000 1.4 *************** *** 8,11 **** --- 8,18 ---- * $Id$ * $Log$ + * Revision 1.4 2003/12/10 23:57:04 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.3 2003/11/21 04:44:30 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 109,114 **** import java.io.*; - import java.util.*; import java.nio.charset.Charset; /** --- 116,121 ---- import java.io.*; import java.nio.charset.Charset; + import java.util.*; /** *************** *** 128,132 **** } ! protected Canonicalizer( final String xpath) { super(xpath); --- 135,139 ---- } ! protected Canonicalizer(final String xpath) { super(xpath); *************** *** 136,140 **** try { bos = new ByteArrayOutputStream(); ! writer = new BufferedWriter(new OutputStreamWriter(bos,"UTF-8")); } catch (UnsupportedEncodingException e) { System.out.println("Strange... we do not have UTF-8"); --- 143,147 ---- try { bos = new ByteArrayOutputStream(); ! writer = new BufferedWriter(new OutputStreamWriter(bos, "UTF-8")); } catch (UnsupportedEncodingException e) { System.out.println("Strange... we do not have UTF-8"); *************** *** 153,157 **** * @throws IOException */ ! public final byte [] canonicalize(final Object node) throws IOException { init(); write(node); --- 160,164 ---- * @throws IOException */ ! public final byte[] canonicalize(final Object node) throws IOException { init(); write(node); *************** *** 335,339 **** } ! // if (element.getParent()==null) // writer.write(LF); } --- 342,346 ---- } ! // if (element.getSignatory()==null) // writer.write(LF); } *************** *** 424,428 **** break; case '&': ! writer.write("&"); break; case 0x0d: --- 431,435 ---- break; case '&': ! writer.write("&"); break; case 0x0d: *************** *** 431,435 **** default : ! writer.write(text.charAt(i) ); } --- 438,442 ---- default : ! writer.write(text.charAt(i)); } *************** *** 486,490 **** public final static int C14NTYPE_NORMAL = 0; public final static int C14NTYPE_WITH_COMMENTS = 1; ! private final static Charset utf8=Charset.forName("UTF-8"); public static final String ALGORITHM = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; --- 493,497 ---- public final static int C14NTYPE_NORMAL = 0; public final static int C14NTYPE_WITH_COMMENTS = 1; ! private final static Charset utf8 = Charset.forName("UTF-8"); public static final String ALGORITHM = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; |
|
From: <pe...@us...> - 2003-12-10 23:55:48
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto In directory sc8-pr-cvs1:/tmp/cvs-serv1459/src/java/org/neuclear/commons/crypto Modified Files: CryptoTools.java RawCertificate.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: CryptoTools.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/CryptoTools.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CryptoTools.java 6 Dec 2003 00:16:35 -0000 1.6 --- CryptoTools.java 10 Dec 2003 23:55:45 -0000 1.7 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.7 2003/12/10 23:55:45 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.6 2003/12/06 00:16:35 pelle * Updated various areas in NSTools. *************** *** 25,29 **** * 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. --- 32,36 ---- * 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. Index: RawCertificate.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/RawCertificate.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RawCertificate.java 6 Dec 2003 00:16:35 -0000 1.3 --- RawCertificate.java 10 Dec 2003 23:55:45 -0000 1.4 *************** *** 26,29 **** --- 26,36 ---- $Id$ $Log$ + Revision 1.4 2003/12/10 23:55:45 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.3 2003/12/06 00:16:35 pelle Updated various areas in NSTools. *************** *** 43,47 **** 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. --- 50,54 ---- 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. |
|
From: <pe...@us...> - 2003-12-10 23:55:48
|
Update of /cvsroot/neuclear/neuclear-commons In directory sc8-pr-cvs1:/tmp/cvs-serv1459 Modified Files: project.properties project.xml 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: project.properties =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/project.properties,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** project.properties 28 Nov 2003 00:12:13 -0000 1.9 --- project.properties 10 Dec 2003 23:55:45 -0000 1.10 *************** *** 17,20 **** --- 17,21 ---- maven.repo.central = neuclear.org maven.repo.central.directory = /home/sites/neuclear.org/public_html/maven + maven.jar.index = true maven.jar.manifest.extensions.add = false #maven.ui.property.file = ui.properties Index: project.xml =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/project.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** project.xml 8 Dec 2003 18:57:34 -0000 1.14 --- project.xml 10 Dec 2003 23:55:45 -0000 1.15 *************** *** 4,8 **** <name>NeuClear Commons</name> <id>neuclear-commons</id> ! <currentVersion>0.5-SNAPSHOT</currentVersion> <inceptionYear>2003</inceptionYear> <package>org.neuclear.commons</package> --- 4,8 ---- <name>NeuClear Commons</name> <id>neuclear-commons</id> ! <currentVersion>0.5</currentVersion> <inceptionYear>2003</inceptionYear> <package>org.neuclear.commons</package> |
|
From: <pe...@us...> - 2003-12-10 23:55:48
|
Update of /cvsroot/neuclear/neuclear-commons/src/test/org/neuclear/commons/crypto/signers In directory sc8-pr-cvs1:/tmp/cvs-serv1459/src/test/org/neuclear/commons/crypto/signers Modified Files: SimpleSignerStoreTest.java TestCaseSignerTest.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: SimpleSignerStoreTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/test/org/neuclear/commons/crypto/signers/SimpleSignerStoreTest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SimpleSignerStoreTest.java 21 Nov 2003 04:43:42 -0000 1.4 --- SimpleSignerStoreTest.java 10 Dec 2003 23:55:45 -0000 1.5 *************** *** 1,4 **** --- 1,11 ---- /* $Id$ * $Log$ + * Revision 1.5 2003/12/10 23:55:45 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.4 2003/11/21 04:43:42 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 11,15 **** * 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. --- 18,22 ---- * 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. Index: TestCaseSignerTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/test/org/neuclear/commons/crypto/signers/TestCaseSignerTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TestCaseSignerTest.java 21 Nov 2003 04:43:42 -0000 1.3 --- TestCaseSignerTest.java 10 Dec 2003 23:55:45 -0000 1.4 *************** *** 29,32 **** --- 29,39 ---- $Id$ $Log$ + Revision 1.4 2003/12/10 23:55:45 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.3 2003/11/21 04:43:42 pelle EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 39,43 **** 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. --- 46,50 ---- 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. |
|
From: <pe...@us...> - 2003-12-10 23:55:48
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers In directory sc8-pr-cvs1:/tmp/cvs-serv1459/src/java/org/neuclear/commons/crypto/signers Modified Files: JCESigner.java Signer.java SimpleSigner.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: JCESigner.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/JCESigner.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** JCESigner.java 22 Nov 2003 00:22:52 -0000 1.8 --- JCESigner.java 10 Dec 2003 23:55:45 -0000 1.9 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.9 2003/12/10 23:55:45 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.8 2003/11/22 00:22:52 pelle * All unit tests in commons, id and xmlsec now work. *************** *** 18,22 **** * 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. --- 25,29 ---- * 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. Index: Signer.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/Signer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Signer.java 19 Nov 2003 23:32:50 -0000 1.2 --- Signer.java 10 Dec 2003 23:55:45 -0000 1.3 *************** *** 2,10 **** * $Id$ * $Log$ * Revision 1.2 2003/11/19 23:32:50 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. --- 2,17 ---- * $Id$ * $Log$ + * Revision 1.3 2003/12/10 23:55:45 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.2 2003/11/19 23:32:50 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 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. Index: SimpleSigner.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/signers/SimpleSigner.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SimpleSigner.java 21 Nov 2003 04:43:41 -0000 1.4 --- SimpleSigner.java 10 Dec 2003 23:55:45 -0000 1.5 *************** *** 2,5 **** --- 2,12 ---- * $Id$ * $Log$ + * Revision 1.5 2003/12/10 23:55:45 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.4 2003/11/21 04:43:41 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. |
|
From: <pe...@us...> - 2003-12-10 23:54:01
|
Update of /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger In directory sc8-pr-cvs1:/tmp/cvs-serv1226/src/java/org/neuclear/ledger Modified Files: Book.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: Book.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-ledger/src/java/org/neuclear/ledger/Book.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Book.java 21 Nov 2003 04:43:20 -0000 1.5 --- Book.java 10 Dec 2003 23:53:58 -0000 1.6 *************** *** 4,7 **** --- 4,14 ---- * $Id$ * $Log$ + * Revision 1.6 2003/12/10 23:53:58 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.5 2003/11/21 04:43:20 pelle * EncryptedFileStore now works. It uses the PBECipher with DES3 afair. *************** *** 18,22 **** * Revision 1.3 2003/11/06 20:01:24 pelle * Implemented AuthenticationTicket and friends to comply with the newer model. ! * Created SignatureRequest and friends to send unsigned NamedObjectBuilders to interactive signing services. * * Revision 1.2 2003/10/01 17:35:53 pelle --- 25,29 ---- * Revision 1.3 2003/11/06 20:01:24 pelle * Implemented AuthenticationTicket and friends to comply with the newer model. ! * Created SignatureRequest and friends to receive unsigned NamedObjectBuilders to interactive signing services. * * Revision 1.2 2003/10/01 17:35:53 pelle |
|
From: <pe...@us...> - 2003-12-10 23:52:43
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/receiver
In directory sc8-pr-cvs1:/tmp/cvs-serv988/src/test/org/neuclear/asset/receiver
Modified Files:
CreateTestPayments.java PaymentReceiverTest.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: CreateTestPayments.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/receiver/CreateTestPayments.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CreateTestPayments.java 9 Dec 2003 18:11:30 -0000 1.5
--- CreateTestPayments.java 10 Dec 2003 23:52:39 -0000 1.6
***************
*** 5,8 ****
--- 5,9 ----
import org.neuclear.asset.contracts.Asset;
import org.neuclear.asset.contracts.builders.TransferRequestBuilder;
+ import org.neuclear.commons.NeuClearException;
import org.neuclear.commons.configuration.ConfigurationException;
import org.neuclear.id.builders.NamedObjectBuilder;
***************
*** 11,16 ****
import java.io.IOException;
import java.security.KeyStoreException;
- import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateException;
import java.util.Date;
--- 12,17 ----
import java.io.IOException;
+ import java.security.GeneralSecurityException;
import java.security.KeyStoreException;
import java.security.cert.CertificateException;
import java.util.Date;
***************
*** 36,39 ****
--- 37,47 ----
$Id$
$Log$
+ Revision 1.6 2003/12/10 23:52:39 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.5 2003/12/09 18:11:30 pelle
Moved Command Line tools to org.neuclear.id.tools.commandline
***************
*** 88,93 ****
*/
public final class CreateTestPayments extends CommandLineSigner {
! public CreateTestPayments(final String[] args) throws ParseException, NoSuchAlgorithmException, CertificateException, IOException, KeyStoreException, ConfigurationException {
super(args);
}
--- 96,102 ----
*/
public final class CreateTestPayments extends CommandLineSigner {
! public CreateTestPayments(final String[] args) throws ParseException, GeneralSecurityException, CertificateException, IOException, KeyStoreException, ConfigurationException, NeuClearException {
super(args);
+
}
Index: PaymentReceiverTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/receiver/PaymentReceiverTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PaymentReceiverTest.java 1 Dec 2003 15:42:55 -0000 1.9
--- PaymentReceiverTest.java 10 Dec 2003 23:52:39 -0000 1.10
***************
*** 48,51 ****
--- 48,58 ----
$Id$
$Log$
+ Revision 1.10 2003/12/10 23:52:39 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.9 2003/12/01 15:42:55 pelle
*** empty log message ***
***************
*** 70,74 ****
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.
--- 77,81 ----
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.
|
|
From: <pe...@us...> - 2003-12-10 23:52:42
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/remote
In directory sc8-pr-cvs1:/tmp/cvs-serv988/src/java/org/neuclear/asset/remote
Modified Files:
AssetControlClient.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: AssetControlClient.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/remote/AssetControlClient.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** AssetControlClient.java 21 Nov 2003 04:43:04 -0000 1.7
--- AssetControlClient.java 10 Dec 2003 23:52:39 -0000 1.8
***************
*** 30,33 ****
--- 30,40 ----
$Id$
$Log$
+ Revision 1.8 2003/12/10 23:52:39 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.7 2003/11/21 04:43:04 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 40,44 ****
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.
--- 47,51 ----
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.
***************
*** 113,121 ****
public final CancelHeldTransferReceipt performCancelHeld(final CancelHeldTransferRequestBuilder req) throws NeuClearException, XMLException {
! return (CancelHeldTransferReceipt) req.getAsset().send(req.sign(signer));
}
private SignedNamedObject send(final TransferBuilder req) throws NeuClearException, XMLException {
! return req.getAsset().send(req.sign(signer));
}
--- 120,128 ----
public final CancelHeldTransferReceipt performCancelHeld(final CancelHeldTransferRequestBuilder req) throws NeuClearException, XMLException {
! return (CancelHeldTransferReceipt) req.getAsset().receive(req.sign(signer));
}
private SignedNamedObject send(final TransferBuilder req) throws NeuClearException, XMLException {
! return req.getAsset().receive(req.sign(signer));
}
|