Chunk 8 of CMP contribution to OpenSSL: CMP server and cmp_mock_srv.c for testing
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 10 Mar 2020 09:29:46 +0000 (10:29 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 10 Mar 2020 15:09:44 +0000 (16:09 +0100)
commit62dcd2aa17b27b7892ad62540f9034c9192f6530
treeedaeb955151ff3c43c7d6a33b5f6047bd05e637c
parentda42c2a3d752628e15b47aa7511e7044745080cb
Chunk 8 of CMP contribution to OpenSSL: CMP server and cmp_mock_srv.c for testing

Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL
Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712).
Adds the CMP and CRMF API to libcrypto and the "cmp" app to the CLI.
Adds extensive documentation and tests.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11142)
42 files changed:
apps/build.info
apps/cmp_mock_srv.c [new file with mode: 0644]
apps/cmp_mock_srv.h [new file with mode: 0644]
crypto/cmp/build.info
crypto/cmp/cmp_err.c
crypto/cmp/cmp_hdr.c
crypto/cmp/cmp_local.h
crypto/cmp/cmp_msg.c
crypto/cmp/cmp_server.c [new file with mode: 0644]
crypto/cmp/cmp_status.c
crypto/cmp/cmp_util.c
crypto/crmf/crmf_err.c
crypto/crmf/crmf_lib.c
crypto/err/openssl.txt
doc/internal/man3/ossl_cmp_hdr_init.pod
doc/internal/man3/ossl_cmp_mock_srv_new.pod [new file with mode: 0644]
doc/internal/man3/ossl_cmp_pkisi_get_status.pod [new file with mode: 0644]
doc/internal/man3/ossl_cmp_statusinfo_new.pod [deleted file]
doc/man3/OSSL_CMP_CTX_new.pod
doc/man3/OSSL_CMP_CTX_snprint_PKIStatus.pod [deleted file]
doc/man3/OSSL_CMP_MSG_get0_header.pod
doc/man3/OSSL_CMP_SRV_CTX_new.pod [new file with mode: 0644]
doc/man3/OSSL_CMP_STATUSINFO_new.pod [new file with mode: 0644]
doc/man3/OSSL_CMP_X509_digest.pod [new file with mode: 0644]
doc/man3/X509_dup.pod
doc/man3/d2i_X509.pod
include/openssl/cmp.h
include/openssl/cmp_util.h
include/openssl/cmperr.h
include/openssl/crmf.h
include/openssl/crmferr.h
test/build.info
test/cmp_ctx_test.c
test/cmp_hdr_test.c
test/cmp_msg_test.c
test/cmp_server_test.c [new file with mode: 0644]
test/cmp_status_test.c
test/cmp_vfy_test.c
test/recipes/65-test_cmp_server.t [new file with mode: 0644]
test/recipes/65-test_cmp_server_data/CR_protected_PBM_1234.der [new file with mode: 0644]
util/libcrypto.num
util/other.syms