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

Reply via email to