|
From: <pe...@us...> - 2003-11-20 23:42:27
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/verifier
In directory sc8-pr-cvs1:/tmp/cvs-serv31294/src/java/org/neuclear/id/verifier
Modified Files:
VerifyingReader.java
Log Message:
Getting all the tests to work in id
Removing usage of BC in CryptoTools as it was causing issues.
First version of EntityLedger that will use OFB's EntityEngine. This will allow us to support a vast amount databases without
writing SQL. (Yipee)
Index: VerifyingReader.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/verifier/VerifyingReader.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** VerifyingReader.java 20 Nov 2003 16:01:25 -0000 1.11
--- VerifyingReader.java 20 Nov 2003 23:42:24 -0000 1.12
***************
*** 1,18 ****
package org.neuclear.id.verifier;
- import org.dom4j.DocumentHelper;
import org.dom4j.Element;
- import org.dom4j.QName;
import org.neuclear.auth.AuthenticationTicket;
import org.neuclear.commons.NeuClearException;
- import org.neuclear.commons.time.TimeTools;
import org.neuclear.id.*;
- import org.neuclear.id.resolver.NSResolver;
import org.neuclear.xml.XMLException;
import org.neuclear.xml.XMLTools;
- import org.neuclear.xml.xmlsec.XMLSecTools;
import java.io.InputStream;
- import java.sql.Timestamp;
import java.util.HashMap;
import java.util.Map;
--- 1,12 ----
***************
*** 38,41 ****
--- 32,41 ----
$Id$
$Log$
+ Revision 1.12 2003/11/20 23:42:24 pelle
+ Getting all the tests to work in id
+ Removing usage of BC in CryptoTools as it was causing issues.
+ First version of EntityLedger that will use OFB's EntityEngine. This will allow us to support a vast amount databases without
+ writing SQL. (Yipee)
+
Revision 1.11 2003/11/20 16:01:25 pelle
Did a security review of the basic Verification process and needed to make changes.
***************
*** 129,135 ****
* @throws NeuClearException
*/
! public final SignedNamedObject read(InputStream is) throws XMLException, NeuClearException {
Element elem = XMLTools.loadDocument(is).getRootElement();
! return resolveReader(elem).read(SignedNamedCore.read(elem),elem);
}
--- 129,139 ----
* @throws NeuClearException
*/
! public final SignedNamedObject read(InputStream is) throws XMLException, NeuClearException {
Element elem = XMLTools.loadDocument(is).getRootElement();
! return read(elem);
! }
!
! public final SignedNamedObject read(Element elem) throws NeuClearException, XMLException {
! return resolveReader(elem).read(SignedNamedCore.read(elem), elem);
}
|