> Not a problem. That's why we implemented transformations in this way. > But how would this effect to function oxs_xml_sig_transform_n_digest() > when we return an array list ?
In the enveloped transformation we can safely use this method. We can check the id of the transformation if the transformation out put type is OXS_TRANSFORM_TYPE_NODE_ARRAY_LIST. By referencing the id of the transformation we can determine the content of the returned array list and act accordingly. I think this method is a bit of a problem in the STR-Transformation case. The STR-Transformation requires access to the whole security header for finding the actual token. But since only the transformation node (in this case SecurityTokenreference node) is passed to the method there is no way we can access the security header from this function. Regards, Supun.