[EMAIL PROTECTED] wrote on 06/26/2006 10:09:31 AM:
> Can you be more specific about what the problem is?
The problem is that there is no equivalent to _transformObject in the
CanonicalizerSpi. An implementation of a Transform can include the
following code in order to access any parameter values encapsulated in the
Transform element:
protected XMLSignatureInput enginePerformTransform
(XMLSignatureInput input)
{
org.w3c.dom.Element elemTransform =
this._transformObject.getElement();
...
}
there is no way to access the current CanonicalizationMethod element from
within the implementation.
> Also, the next release of Apache XML Security (1.4) will include JSR 105
> (Java XML DSig API). The JSR 105 API allows you to implement your own
> Canonicalization (or Transform) algorithms (with support for input
> parameters) by subclassing the javax.xml.crypto.dsig.TransformService
> class. An initial beta of XMLSec 1.4 is now available for testing:
> http://xml.apache.org/security/dist/java-library/xmlsec-1.4.Beta0.jar
How different is code written for 1.4 vs. 1.3? Are there easy to
understand porting guidelines available?
Thanks,
Mike
> --Sean