|
From: <pe...@us...> - 2004-01-14 06:42:40
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/c14 In directory sc8-pr-cvs1:/tmp/cvs-serv29428/src/java/org/neuclear/xml/c14 Modified Files: Canonicalizer.java Log Message: Got rid of the verifyXXX() methods Index: Canonicalizer.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/java/org/neuclear/xml/c14/Canonicalizer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Canonicalizer.java 10 Dec 2003 23:57:04 -0000 1.4 --- Canonicalizer.java 14 Jan 2004 06:42:37 -0000 1.5 *************** *** 8,11 **** --- 8,14 ---- * $Id$ * $Log$ + * Revision 1.5 2004/01/14 06:42:37 pelle + * Got rid of the verifyXXX() methods + * * Revision 1.4 2003/12/10 23:57:04 pelle * Did some cleaning up in the builders *************** *** 112,117 **** --- 115,122 ---- import org.neuclear.xml.ElementProxy; import org.neuclear.xml.XMLTools; + import org.neuclear.xml.xmlsec.XMLSecurityException; import org.neuclear.xml.transforms.TransformerFactory; import org.neuclear.xml.transforms.XPathTransform; + import org.neuclear.commons.LowLevelException; import java.io.*; *************** *** 158,167 **** * * @param node - * @throws IOException */ ! public final byte[] canonicalize(final Object node) throws IOException { ! init(); ! write(node); ! return getBytes(); } --- 163,175 ---- * * @param node */ ! public final byte[] canonicalize(final Object node) throws XMLSecurityException { ! try { ! init(); ! write(node); ! return getBytes(); ! } catch (IOException e) { ! throw new XMLSecurityException(e); ! } } |