|
From: <pe...@us...> - 2004-01-07 23:12:23
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id
In directory sc8-pr-cvs1:/tmp/cvs-serv16630/src/java/org/neuclear/id
Modified Files:
Identity.java NSTools.java
Log Message:
XMLSig now has various added features:
- KeyInfo supports X509v3 (untested)
- KeyInfo supports KeyName
- When creating a XMLSignature and signing it with a Signer, it adds the alias to the KeyName
Added KeyResolver interface and KeyResolverFactory Class. At the moment no implementations.
Index: Identity.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/Identity.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Identity.java 19 Dec 2003 18:03:34 -0000 1.26
--- Identity.java 7 Jan 2004 23:12:20 -0000 1.27
***************
*** 2,5 ****
--- 2,12 ----
* $Id$
* $Log$
+ * Revision 1.27 2004/01/07 23:12:20 pelle
+ * XMLSig now has various added features:
+ * - KeyInfo supports X509v3 (untested)
+ * - KeyInfo supports KeyName
+ * - When creating a XMLSignature and signing it with a Signer, it adds the alias to the KeyName
+ * Added KeyResolver interface and KeyResolverFactory Class. At the moment no implementations.
+ *
* Revision 1.26 2003/12/19 18:03:34 pelle
* Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
***************
*** 504,508 ****
final String receiver = elem.attributeValue(createNEUIDQName("receiver"));
! final Element allowElement = InvalidNamedObjectException.assertContainsElementQName(core,elem,createNEUIDQName("allow"));
try {
final KeyInfo ki = new KeyInfo(InvalidNamedObjectException.assertContainsElementQName(allowElement, XMLSecTools.createQName("KeyInfo")));
--- 511,515 ----
final String receiver = elem.attributeValue(createNEUIDQName("receiver"));
! final Element allowElement = InvalidNamedObjectException.assertContainsElementQName(core,elem,createNEUIDQName("Allow"));
try {
final KeyInfo ki = new KeyInfo(InvalidNamedObjectException.assertContainsElementQName(allowElement, XMLSecTools.createQName("KeyInfo")));
Index: NSTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/NSTools.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** NSTools.java 19 Dec 2003 18:03:34 -0000 1.24
--- NSTools.java 7 Jan 2004 23:12:20 -0000 1.25
***************
*** 2,5 ****
--- 2,12 ----
* $Id$
* $Log$
+ * Revision 1.25 2004/01/07 23:12:20 pelle
+ * XMLSig now has various added features:
+ * - KeyInfo supports X509v3 (untested)
+ * - KeyInfo supports KeyName
+ * - When creating a XMLSignature and signing it with a Signer, it adds the alias to the KeyName
+ * Added KeyResolver interface and KeyResolverFactory Class. At the moment no implementations.
+ *
* Revision 1.24 2003/12/19 18:03:34 pelle
* Revamped a lot of exception handling throughout the framework, it has been simplified in most places:
***************
*** 443,449 ****
private static final String NEUID_URI = "http://neuclear.org/neu/neuid";
! public static final Namespace NS_NEUID = DocumentHelper.createNamespace("neuid", NEUID_URI);
!
! public static final String NEUID_PREFIX = "neuid:";
private static final String SCHEME_PREFIX = "([\\w]{1,6}:)?";
--- 450,455 ----
private static final String NEUID_URI = "http://neuclear.org/neu/neuid";
! public static final String NEUID_PREFIX = "id";
! public static final Namespace NS_NEUID = DocumentHelper.createNamespace(NEUID_PREFIX, NEUID_URI);
private static final String SCHEME_PREFIX = "([\\w]{1,6}:)?";
|