From d477484d33b7b3572150e21562cf4209c8dd9ef5 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 3 Dec 2021 18:17:50 +0100 Subject: CMP: add support for genm/genp messages with id-it-caCerts Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/19231) --- doc/internal/man3/ossl_cmp_mock_srv_new.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/internal') diff --git a/doc/internal/man3/ossl_cmp_mock_srv_new.pod b/doc/internal/man3/ossl_cmp_mock_srv_new.pod index 119077ea7c..59568c65fc 100644 --- a/doc/internal/man3/ossl_cmp_mock_srv_new.pod +++ b/doc/internal/man3/ossl_cmp_mock_srv_new.pod @@ -45,16 +45,17 @@ ossl_cmp_mock_srv_set1_refCert() sets the reference certificate to be expected for rr messages and for any oldCertID included in kur messages. ossl_cmp_mock_srv_set1_certOut() sets the certificate to be returned in -cp/ip/kup. +cp/ip/kup messages. Note that on each certificate request the mock server does not produce a fresh certificate but just returns the same pre-existing certificate. ossl_cmp_mock_srv_set1_chainOut() sets the certificate chain to be added to -the extraCerts in a cp/ip/kup. +the extraCerts in a cp/ip/kup message. It should be useful for the validation of the certificate given via ossl_cmp_mock_srv_set1_certOut(). -ossl_cmp_mock_srv_set1_caPubsOut() sets the caPubs to be returned in an ip. +ossl_cmp_mock_srv_set1_caPubsOut() sets the caPubs to be returned in an ip msg +and the list of certificates to be returned in a genp of infoType caCerts. ossl_cmp_mock_srv_set_statusInfo() sets the status info to be returned. -- cgit v1.2.3