/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 798 OSSL_CMP_MSG *ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int fail_info, in ossl_cmp_certConf_new() argument 811 if ((unsigned)fail_info > OSSL_CMP_PKIFAILUREINFO_MAX_BIT_PATTERN) { in ossl_cmp_certConf_new() 854 sinfo = fail_info != 0 ? in ossl_cmp_certConf_new() 855 OSSL_CMP_STATUSINFO_new(OSSL_CMP_PKISTATUS_rejection, fail_info, text) : in ossl_cmp_certConf_new()
|
H A D | cmp_local.h | 786 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info); 890 OSSL_CMP_MSG *ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int fail_info, 927 int ossl_cmp_exchange_certConf(OSSL_CMP_CTX *ctx, int fail_info, 929 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info,
|
H A D | cmp_client.c | 361 int ossl_cmp_exchange_certConf(OSSL_CMP_CTX *ctx, int fail_info, in ossl_cmp_exchange_certConf() argument 389 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, txt)) == NULL) in ossl_cmp_exchange_error() 486 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in OSSL_CMP_certConf_cb() argument 494 return fail_info; in OSSL_CMP_certConf_cb() 504 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in OSSL_CMP_certConf_cb() 519 return fail_info; in OSSL_CMP_certConf_cb() 534 int fail_info = 0; /* no failure */ in cert_response() local 599 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in cert_response() 616 if ((fail_info = cb(ctx, ctx->newCert, fail_info, &txt)) != 0 in cert_response() 624 if (!ossl_cmp_exchange_certConf(ctx, fail_info, txt)) in cert_response() [all …]
|
H A D | cmp_server.c | 566 int fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_badRequest; in OSSL_CMP_SRV_process_request() local 579 fail_info, reason)) != NULL) { in OSSL_CMP_SRV_process_request()
|
H A D | cmp_status.c | 165 char *snprint_PKIStatusInfo_parts(int status, int fail_info, in snprint_PKIStatusInfo_parts() argument 193 if (fail_info != 0) { in snprint_PKIStatusInfo_parts() 197 if ((fail_info & (1 << failure)) != 0) { in snprint_PKIStatusInfo_parts() 271 OSSL_CMP_PKISI *OSSL_CMP_STATUSINFO_new(int status, int fail_info, in OSSL_CMP_STATUSINFO_new() argument 296 if ((fail_info & (1 << failure)) != 0) { in OSSL_CMP_STATUSINFO_new()
|
/openssl/test/ |
H A D | cmp_ctx_test.c | 317 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument
|
H A D | cmp_msg_test.c | 25 int fail_info; member 110 (fixture->cmp_ctx, fixture->fail_info, NULL)); in execute_certconf_create_test() 286 fixture->fail_info = 0; in test_cmp_create_certconf() 300 fixture->fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_badAlg; in test_cmp_create_certconf_badAlg() 314 fixture->fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_MAX; in test_cmp_create_certconf_fail_info_max()
|
/openssl/include/openssl/ |
H A D | cmp.h.in | 350 int fail_info, const char **txt); 351 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 377 OSSL_CMP_STATUSINFO_new(int status, int fail_info, const char *text);
|
/openssl/doc/man3/ |
H A D | OSSL_CMP_CTX_new.pod | 145 int fail_info, const char **txt); 146 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 602 int fail_info, const char **txt); 605 overrule the pre-decision given in the I<fail_info> and I<*txt> parameters. 699 OSSL_CMP_certConf_cb() returns I<fail_info> if it is not equal to 0,
|
H A D | OSSL_CMP_STATUSINFO_new.pod | 14 OSSL_CMP_PKISI *OSSL_CMP_STATUSINFO_new(int status, int fail_info, 30 and interprets I<fail_info> as bit pattern for the failInfo field.
|
/openssl/doc/internal/man3/ |
H A D | ossl_cmp_mock_srv_new.pod | 31 int fail_info, const char *text);
|
H A D | ossl_cmp_certreq_new.pod | 33 OSSL_CMP_MSG *ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int fail_info, 127 received certificate. PKIStatus defaults to B<accepted> if the I<fail_info> bit
|
H A D | ossl_cmp_ctx_set1_caPubs.pod | 24 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info);
|
/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 30 int fail_info, const char *text);
|
/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 135 int fail_info, const char *text) in ossl_cmp_mock_srv_set_statusInfo() argument 144 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, text)) == NULL) in ossl_cmp_mock_srv_set_statusInfo()
|