Created attachment 26187 [details] Diff from trunk to support ECDSA with SHA-2 The attached patch: - adds support for the following signature algorithm URIs (in Apache Java API): http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256 http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384 http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512 - enhance the conversion beetween ASN.1 and XMLDSIG signaturevalue (and viceversa): better invalid format checks and support for bigger signatures (created with a P-521 EC Key for example) - uses the correct JCE name for ECDSA with SHA-1 - fixes SpecificationURL