Support creation of ECDSA signed data.
* src/der-builder.c (_ksba_der_add_int): New. * src/cms.h (struct sig_val_s): Add struct ecc. * src/cms.c (ksba_cms_release): Release ecc. (ksba_cms_set_sig_val): Support ecdsa. (build_signed_data_rest): Ditto. * tests/samples/ecdsa-sample1.p7s: New. * tests/samples/ecdsa-sample1.p7s.asn: New. * tests/samples/rsa-sample1.p7s: New. * tests/samples/rsa-sample1.p7s.asn: New.
- GnuPG-bug-id: T4920
- Signed-off-by: Werner Koch <wk@gnupg.org>