I'm not sure what the problem is. Can you please file a bug with a
reproducible test case?
https://issues.apache.org/jira/browse/SANTUARIO/fixforversion/12325592/?selectedTab=com.atlassian.jira.jira-projects-plugin:version-summary-panel
Thanks,
Sean
On 03/12/2014 11:24 AM, M. D. wrote:
Hello,
I'm getting the following exception when trying to sign an XML with a 2048
bytes DSA key (sha1 digested).
Caused by: org.apache.xml.security.signature.XMLSignatureException: Invalid
ASN.1 format of DSA signature
Original Exception was java.io.IOException: Invalid ASN.1 format of DSA
signature
at
org.apache.xml.security.algorithms.implementations.SignatureDSA.engineSign(SignatureDSA.java:167)
at
org.apache.xml.security.algorithms.SignatureAlgorithm.sign(SignatureAlgorithm.java:139)
at
org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:515)
I'm using the latest release 1.5.6 bundle.
Any help will be appreciated!
Best regards,
Marin