Updated: 5/14/98 by David Shapiro The Grand Unification of the PICS and DSig Libraries! This version of the DSig library is the exact same contents of the PICS Standard Library version 1.2. From this point onward, they will share the code base and version number. The Web-based documentation will be changed to reflect this. =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Updated: 4/30/98 by David Shapiro Incorporated all the accumulated bugfixes to the PICS parser from PICS library versions 1.1.4 (2/18/98) and 1.1.5 (not released yet). =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Updated: 4/6/98 by Yang-hua Chu URL changes (standardized URLs) ------------------------------- DSig 1.0 Extension Identifiers (from) http://www.w3.org/PICS/DSig/resinfo-1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/resinfo-1_0 (from) http://www.w3.org/PICS/DSig/sigblock-1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/sigblock-1_0 Hash Algorithm Identifiers (from) http://www.w3.org/PICS/DSig/MD5_1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/MD5-1_0 (from) http://www.w3.org/PICS/DSig/SHA1_1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/SHA1-1_0 Signature Suite Identifiers (from) http://www.w3.org/PICS/DSig/DSS_1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/DSS-1_0 (from) http://www.w3.org/PICS/DSig/RSA-MD5_1_0.html (to) http://www.w3.org/TR/1998/REC-DSig-label/RSA-MD5-1_0 URL changes (non-standardized URLs) ---------------------------------- Signature Suite Identifiers (from) http://www.w3.org/PICS/DSig/ECC-1_0.html (to) http://www.w3.org/PICS/DSig/ECDSS-1_0.html (from) http://www.w3.org/PICS/DSig/RSA-SHA1_1_0.html (to) http://www.w3.org/PICS/DSig/RSA-SHA1-1_0.html Certificate Family Identifiers (from) http://www.w3.org/PICS/DSig/X509_1_0.html (to) http://www.w3.org/PICS/DSig/X509-1_0.html (from) http://www.w3.org/PICS/DSig/pgpcert_1_0.html (to) http://www.w3.org/PICS/DSig/pgpcert-1_0.html See http://lists.w3.org/Archives/Member/w3c-dsig-sig/msg00689 for more info. =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Updated: 22-dec-1997 by Andreas Sterbenz Beta release with a few small updates. . Some documentation changes/ updates/ corrections. . Added a few conveniences methods here and there . Changed the newSigLabel methods in SigLabel into constructors . New constructor SigCert(java.security.Certificate) in SigCert . reset() method in CertDataBase (mainly for debugging) . The pretty printer now handles quoted strings correctly. . Debug mode turned off . A few even less significant updates. 25-nov-1997 More updates. . Added getKeyLength() to SignatureSuite. . The hashtable in SignatureSuite was renamed from "values" to "suiteValues." Additionally, the methods add(), remove(), etc. to access it hashtable were removed from SignatureSuite, just replace e.g. "add()" by "suiteValues.add()" . Changed the API for setBy() and added getBy() (see JavaDoc documentation) . Old Parser bug fixed by Ora and Yang-hua (synonyms) . Changed a few URLs to match the specs (added "_1_0") . Changed "PICS-1.1" to "pics-1.1" in PICS.java (canonicalization demands lower case for symbols) . Introduced a shortName in SignatureSuite . Rewrote the prettyPrinter (it's a bit better now) . Wrote the class DSigDemo in the default package which does a simple non-GUI demo. . Removed some leftover leading '=' in Base64 encodings. 03-nov-1997 Minor updates of documentation and code. . Documentation updated, extended and small errors corrected in various places. . Some methods were renamed to result in a more uniform and more standard naming scheme. . SigLabel has methods two new static methods, newSigLabel(InputStream) and newSigLabel(String) that return a new SigLabel. These should have been constructors, but could not be declared as such because of Java language rules. . A few changes/ improvements in the SigCert and AttribInfo classes. 21-oct-1997 Bugfix release with a few new features. Bugs fixed: . Fixed bugs in w3c.www.dsig.Trivalue (typo and missing 'public') . Reworked w3c.www.pics.ISODate due to bugs in the old code and in java.util.Date . Fixed a bug with looking up symbols in a Hashtable by adding hashCode() and equals() to Symbol . Fixed a bug in SignatureSuite.parse() . Fixed handling of booleans in the parser Other changes: . A lot more comments in some places, especially SignatureSuite and SigSuiteDSS. . Implemented DSAPublicKeyClass, DSAPrivateKeyClass, and DSAParamsClass (all in w3c.www.dsig), so there is no potentially non-portable dependency on sun.* code any longer. . SignatureSuite is no longer a subclass of Hashtable, because that granted full access to the contents of the signature suite to all classes, which does not seem wise to me. Subclasses should not be affected by this change. . Removed the leading '=' from Base64 encodings (not fully tested) . I reviewed all the code and removed a number of methods that seem no longer needed under the new API or that seem to make things more difficult to understand rather than easier. This happened in a number of places. . Since I now managed to extract the 'for' value from a label (thanks to the Symbol bugfix), getFor() was added to SigLabel and this method is used in a few places. Most notably SigLabel.verifyAll(), so no parameter required any more. . All calcDigest methods in ResInfoExtension now require that a date is specified, although that can be null if no date is to be included with the hash. . I added a prettyPrint() function to SigLabel, however, the output is currently not very pretty and the code is really ugly :( 03-oct-1997 First pre-beta release with the new, mostly finalized API and basically working code.