Home
last modified time | relevance | path

Searched refs:fail_info (Results 1 – 16 of 16) sorted by relevance

/openssl/crypto/cmp/
H A Dcmp_status.c169 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 Dcmp_client.c455 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 Dcmp_server.c175 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 Dcmp_local.h867 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 Dcmp_msg.c795 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 Dcmp_msg_test.c25 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 Dcmp_client_test.c318 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 Dcmp_ctx_test.c334 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument
/openssl/doc/man3/
H A DOSSL_CMP_STATUSINFO_new.pod14 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 DOSSL_CMP_CTX_new.pod155 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 Dcmp_mock_srv.h34 int fail_info, const char *text);
/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod34 int fail_info, const char *text);
128 The PKIStatus defaults to B<accepted> if the I<fail_info> bit field is 0.
H A Dossl_cmp_ctx_set1_caPubs.pod24 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info);
H A Dossl_cmp_mock_srv_new.pod37 int fail_info, const char *text);
/openssl/apps/lib/
H A Dcmp_mock_srv.c145 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 Dcmp.h.in429 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);

Completed in 56 milliseconds