|
From: <pe...@us...> - 2003-10-02 23:29:13
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders
In directory sc8-pr-cvs1:/tmp/cvs-serv24957/src/java/org/neuclear/id/builders
Modified Files:
IdentityBuilder.java NamedObjectBuilder.java
Log Message:
Updated Root Key. This will be the root key for the remainder of the beta period. With version 1.0 I will update it with a new key.
VerifyingTest works now and also does a pass for fake ones. Will have to think of better ways of making fake Identities to break it.
Cleaned up much of the tests and they all pass now.
The FileStoreTests need to be rethought out, by adding a test key.
Index: IdentityBuilder.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/IdentityBuilder.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** IdentityBuilder.java 1 Oct 2003 19:08:30 -0000 1.2
--- IdentityBuilder.java 2 Oct 2003 23:29:03 -0000 1.3
***************
*** 2,5 ****
--- 2,11 ----
* $Id$
* $Log$
+ * Revision 1.3 2003/10/02 23:29:03 pelle
+ * Updated Root Key. This will be the root key for the remainder of the beta period. With version 1.0 I will update it with a new key.
+ * VerifyingTest works now and also does a pass for fake ones. Will have to think of better ways of making fake Identities to break it.
+ * Cleaned up much of the tests and they all pass now.
+ * The FileStoreTests need to be rethought out, by adding a test key.
+ *
* Revision 1.2 2003/10/01 19:08:30 pelle
* Changed XML Format. Now NameSpace has been modified to Identity also the
***************
*** 144,147 ****
--- 150,154 ----
import org.neudist.xml.xmlsec.XMLSecTools;
+ import java.security.PrivateKey;
import java.security.PublicKey;
***************
*** 185,188 ****
--- 192,200 ----
public IdentityBuilder(String name, PublicKey allow) throws NeudistException {
this(name, allow, null);
+ }
+
+ public IdentityBuilder(String name, PrivateKey signer, PublicKey allow) throws NeudistException {
+ this(name, allow);
+ sign(signer);
}
Index: NamedObjectBuilder.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/NamedObjectBuilder.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NamedObjectBuilder.java 1 Oct 2003 19:08:30 -0000 1.3
--- NamedObjectBuilder.java 2 Oct 2003 23:29:03 -0000 1.4
***************
*** 2,5 ****
--- 2,11 ----
* $Id$
* $Log$
+ * Revision 1.4 2003/10/02 23:29:03 pelle
+ * Updated Root Key. This will be the root key for the remainder of the beta period. With version 1.0 I will update it with a new key.
+ * VerifyingTest works now and also does a pass for fake ones. Will have to think of better ways of making fake Identities to break it.
+ * Cleaned up much of the tests and they all pass now.
+ * The FileStoreTests need to be rethought out, by adding a test key.
+ *
* Revision 1.3 2003/10/01 19:08:30 pelle
* Changed XML Format. Now NameSpace has been modified to Identity also the
***************
*** 334,338 ****
public final void log() throws NeudistException {
Identity ns = getParent();
! Sender.quickSend(ns.getLogger(), this);
}
--- 340,345 ----
public final void log() throws NeudistException {
Identity ns = getParent();
! if (ns != null && ns.getLogger() != null)
! Sender.quickSend(ns.getLogger(), this);
}
|