Support SM2 certificate signing
authorPaul Yang <yang.yang@baishancloud.com>
Wed, 5 Jun 2019 06:46:48 +0000 (14:46 +0800)
committerPaul Yang <yang.yang@baishancloud.com>
Fri, 28 Jun 2019 10:58:19 +0000 (18:58 +0800)
commitbc42bd6298702a1abf70aa6383d36886dd5af4b3
treef75b4cdda42ccc9ebeb01cf9d1d4bc5c0c05764e
parent53a11c6da09988efba93eccfdd10bf7edf1d53b2
Support SM2 certificate signing

SM2 certificate signing request can be created and signed by OpenSSL
now, both in library and apps.

Documentation and test cases are added.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9085)
24 files changed:
CHANGES
apps/ca.c
apps/req.c
crypto/asn1/a_sign.c
crypto/ec/ec_pmeth.c
crypto/err/openssl.txt
crypto/include/internal/x509_int.h
crypto/x509/x509_err.c
crypto/x509/x_all.c
crypto/x509/x_req.c
crypto/x509/x_x509.c
doc/man1/ca.pod
doc/man1/req.pod
doc/man3/X509_get0_sm2_id.pod
include/openssl/x509.h
include/openssl/x509err.h
test/certs/sm2-csr.pem [new file with mode: 0644]
test/certs/sm2-root.crt [new file with mode: 0644]
test/certs/sm2-root.key [new file with mode: 0644]
test/recipes/25-test_req.t
test/recipes/70-test_verify_extra.t
test/recipes/80-test_ca.t
test/verify_extra_test.c
util/libcrypto.num