Home GnuPG

Support creation of ECDSA signed data.

Description

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>

Details

Provenance
wernerAuthored on May 11 2020, 5:41 PM
Parents
rK8ade151b1048: Support creation of ECDH enveloped data object (part 2 of 2)
Branches
Unknown
Tags
Unknown
Tasks
T4920: Support ECDH in Libksba