Changeset View
Changeset View
Standalone View
Standalone View
doc/internal/man3/ossl_cmp_mock_srv_new.pod
Context not available. | |||||
ossl_cmp_mock_srv_set1_chainOut, | ossl_cmp_mock_srv_set1_chainOut, | ||||
ossl_cmp_mock_srv_set1_caPubsOut, | ossl_cmp_mock_srv_set1_caPubsOut, | ||||
ossl_cmp_mock_srv_set_statusInfo, | ossl_cmp_mock_srv_set_statusInfo, | ||||
ossl_cmp_mock_srv_set_send_error, | ossl_cmp_mock_srv_set_sendError, | ||||
ossl_cmp_mock_srv_set_pollCount, | ossl_cmp_mock_srv_set_pollCount, | ||||
ossl_cmp_mock_srv_set_checkAfterTime | ossl_cmp_mock_srv_set_checkAfterTime | ||||
- functions used for testing with CMP mock server | - functions used for testing with CMP mock server | ||||
Context not available. | |||||
STACK_OF(X509) *caPubs); | STACK_OF(X509) *caPubs); | ||||
int ossl_cmp_mock_srv_set_statusInfo(OSSL_CMP_SRV_CTX *srv_ctx, int status, | int ossl_cmp_mock_srv_set_statusInfo(OSSL_CMP_SRV_CTX *srv_ctx, int status, | ||||
int fail_info, const char *text); | int fail_info, const char *text); | ||||
int ossl_cmp_mock_srv_set_send_error(OSSL_CMP_SRV_CTX *srv_ctx, int val); | int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype); | ||||
int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count); | int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count); | ||||
int ossl_cmp_mock_srv_set_checkAfterTime(OSSL_CMP_SRV_CTX *srv_ctx, int sec); | int ossl_cmp_mock_srv_set_checkAfterTime(OSSL_CMP_SRV_CTX *srv_ctx, int sec); | ||||
Context not available. | |||||
ossl_cmp_mock_srv_free() deallocates the contexts for the CMP mock server. | ossl_cmp_mock_srv_free() deallocates the contexts for the CMP mock server. | ||||
OSSL_CMP_SRV_CTX_set1_certOut() sets the certificate to be returned in | ossl_cmp_mock_srv_set1_certOut() sets the certificate to be returned in | ||||
cp/ip/kup. | cp/ip/kup. | ||||
OSSL_CMP_SRV_CTX_set1_chainOut() sets the certificate chain to be added to | 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. | ||||
It should to useful to validate B<certOut>. | It should be useful for the validation of the certificate given via | ||||
ossl_cmp_mock_srv_set1_certOut(). | |||||
OSSL_CMP_SRV_CTX_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. | ||||
OSSL_CMP_SRV_CTX_set_statusInfo() sets the status info to be returned. | ossl_cmp_mock_srv_set_statusInfo() sets the status info to be returned. | ||||
OSSL_CMP_SRV_CTX_set_send_error() enables enforcement of error responses. | ossl_cmp_mock_srv_set_sendError() enables enforcement of error responses | ||||
for requests of the given I<bodytype>, or for all requests if I<bodytype> is 1. | |||||
A I<bodytype> of -1 can be used to disable this feature, which is the default. | |||||
OSSL_CMP_SRV_CTX_set_pollCount() sets the number of polls before cert response. | ossl_cmp_mock_srv_set_pollCount() sets the number of polls before cert response. | ||||
OSSL_CMP_SRV_CTX_set_checkAfterTime() sets the number of seconds | ossl_cmp_mock_srv_set_checkAfterTime() sets the number of seconds | ||||
the client should wait for the next poll. | the client should wait for the next poll. | ||||
=head1 NOTES | =head1 NOTES | ||||
CMP is defined in RFC 4210 (and CRMF in RFC 4211). | CMP is defined in RFC 4210 (and CRMF in RFC 4211). | ||||
Context not available. | |||||
=head1 COPYRIGHT | =head1 COPYRIGHT | ||||
Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved. | Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved. | ||||
Licensed under the Apache License 2.0 (the "License"). You may not use | Licensed under the Apache License 2.0 (the "License"). You may not use | ||||
this file except in compliance with the License. You can obtain a copy | this file except in compliance with the License. You can obtain a copy | ||||
Context not available. |