/openssl/crypto/cmp/ |
H A D | cmp_status.c | 169 char *snprint_PKIStatusInfo_parts(int status, int fail_info, in snprint_PKIStatusInfo_parts() argument 200 if (fail_info != -1 && fail_info != 0) { in snprint_PKIStatusInfo_parts() 204 if ((fail_info & (1 << failure)) != 0) { in snprint_PKIStatusInfo_parts() 278 OSSL_CMP_PKISI *OSSL_CMP_STATUSINFO_new(int status, int fail_info, in OSSL_CMP_STATUSINFO_new() argument 303 if ((fail_info & (1 << failure)) != 0) { in OSSL_CMP_STATUSINFO_new()
|
H A D | cmp_client.c | 455 int fail_info, const char *txt) in ossl_cmp_exchange_certConf() argument 462 certConf = ossl_cmp_certConf_new(ctx, certReqId, fail_info, txt); in ossl_cmp_exchange_certConf() 581 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in OSSL_CMP_certConf_cb() argument 590 return fail_info; in OSSL_CMP_certConf_cb() 628 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in OSSL_CMP_certConf_cb() 643 return fail_info; in OSSL_CMP_certConf_cb() 660 int fail_info = 0; /* no failure */ in cert_response() local 754 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in cert_response() 771 if ((fail_info = cb(ctx, ctx->newCert, fail_info, &txt)) != 0 in cert_response() 783 if (!ossl_cmp_exchange_certConf(ctx, rid, fail_info, txt)) in cert_response() [all …]
|
H A D | cmp_server.c | 175 fail_info = 0, errorCode = 0; in delayed_delivery() local 191 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_systemFailure; in delayed_delivery() 198 si = OSSL_CMP_STATUSINFO_new(status, fail_info, txt); in delayed_delivery() 677 int fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_badRequest; in OSSL_CMP_SRV_process_request() local 697 fail_info, reason)) != NULL) { in OSSL_CMP_SRV_process_request()
|
H A D | cmp_local.h | 867 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info); 977 int fail_info, const char *text); 1017 int fail_info, const char *txt); 1018 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info,
|
H A D | cmp_msg.c | 795 int fail_info, const char *text) in ossl_cmp_certConf_new() argument 809 if ((unsigned)fail_info > OSSL_CMP_PKIFAILUREINFO_MAX_BIT_PATTERN) { in ossl_cmp_certConf_new() 856 sinfo = fail_info != 0 ? in ossl_cmp_certConf_new() 857 OSSL_CMP_STATUSINFO_new(OSSL_CMP_PKISTATUS_rejection, fail_info, text) : in ossl_cmp_certConf_new()
|
/openssl/test/ |
H A D | cmp_msg_test.c | 25 int fail_info; member 111 fixture->fail_info, NULL)); in execute_certconf_create_test() 287 fixture->fail_info = 0; in test_cmp_create_certconf() 301 fixture->fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_badAlg; in test_cmp_create_certconf_badAlg() 315 fixture->fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_MAX; in test_cmp_create_certconf_fail_info_max()
|
H A D | cmp_client_test.c | 318 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument 325 fail_info = OSSL_CMP_PKIFAILUREINFO_badCertTemplate; in test_certConf_cb() 327 return fail_info; in test_certConf_cb()
|
H A D | cmp_ctx_test.c | 334 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument
|
/openssl/doc/man3/ |
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.
|
H A D | OSSL_CMP_CTX_new.pod | 155 int fail_info, const char **txt); 156 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 661 int fail_info, const char **txt); 664 overrule the pre-decision given in the I<fail_info> and I<*txt> parameters. 781 OSSL_CMP_certConf_cb() returns I<fail_info> if it is not equal to 0,
|
/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 34 int fail_info, const char *text);
|
/openssl/doc/internal/man3/ |
H A D | ossl_cmp_certreq_new.pod | 34 int fail_info, const char *text); 128 The PKIStatus defaults to B<accepted> if the I<fail_info> bit field is 0.
|
H A D | ossl_cmp_ctx_set1_caPubs.pod | 24 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info);
|
H A D | ossl_cmp_mock_srv_new.pod | 37 int fail_info, const char *text);
|
/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 145 int fail_info, const char *text) in DEFINE_OSSL_SET1_CERT() 154 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, text)) == NULL) in DEFINE_OSSL_SET1_CERT()
|
/openssl/include/openssl/ |
H A D | cmp.h.in | 429 int fail_info, const char **txt); 430 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 456 OSSL_CMP_STATUSINFO_new(int status, int fail_info, const char *text);
|