> If you don't use xpath transformations everything is a lot faster(If you > use it, you get a moderate speed-up). But the best thing is that know > that the engineSign is significative, the Scott's native JCE > implementation improves the think a lot(x4 times) (Thanks Scott). > Right now in my test the slower part of the library is the c14n part,
well, as you can see, i am not using any transformation at all, that explains the speed-up.: // transforms.addTransform(Transforms.TRANSFORM_ENVELOPED_SIGNATURE); // transforms.addTransform(Transforms.TRANSFORM_C14N_WITH_COMMENTS); // sig.addDocument(pPathPrefijo, transforms); sig.addDocument(pPathPrefijo);