/freebsd/crypto/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 | 364 int fail_info, const char *txt) in ossl_cmp_exchange_certConf() argument 371 certConf = ossl_cmp_certConf_new(ctx, certReqId, fail_info, txt); in ossl_cmp_exchange_certConf() 384 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info, in ossl_cmp_exchange_error() argument 393 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, txt)) == NULL) in ossl_cmp_exchange_error() 488 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in OSSL_CMP_certConf_cb() argument 495 if (fail_info != 0) /* accept any error flagged by CMP core library */ in OSSL_CMP_certConf_cb() 496 return fail_info; in OSSL_CMP_certConf_cb() 534 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in OSSL_CMP_certConf_cb() 549 return fail_info; in OSSL_CMP_certConf_cb() 565 int fail_info = 0; /* no failure */ in cert_response() local [all …]
|
H A D | cmp_local.h | 784 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info); 892 int fail_info, const char *text); 929 int fail_info, const char *txt); 930 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info,
|
H A D | cmp_msg.c | 786 int fail_info, const char *text) in ossl_cmp_certConf_new() argument 798 if ((unsigned)fail_info > OSSL_CMP_PKIFAILUREINFO_MAX_BIT_PATTERN) { in ossl_cmp_certConf_new() 835 sinfo = fail_info != 0 ? in ossl_cmp_certConf_new() 836 OSSL_CMP_STATUSINFO_new(OSSL_CMP_PKISTATUS_rejection, fail_info, text) : in ossl_cmp_certConf_new()
|
H A D | cmp_server.c | 583 int fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_badRequest; in OSSL_CMP_SRV_process_request() local 602 fail_info, reason)) != NULL) { in OSSL_CMP_SRV_process_request()
|
H A D | cmp_ctx.c | 992 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info) in DEFINE_OSSL_CMP_CTX_set1() 996 ctx->failInfoCode = fail_info; in DEFINE_OSSL_CMP_CTX_set1()
|
/freebsd/crypto/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 | 310 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument 317 fail_info = OSSL_CMP_PKIFAILUREINFO_badCertTemplate; in test_certConf_cb() 319 return fail_info; in test_certConf_cb()
|
H A D | cmp_ctx_test.c | 320 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in test_certConf_cb() argument
|
/freebsd/crypto/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 | 142 int fail_info, const char **txt); 143 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 612 int fail_info, const char **txt); 615 overrule the pre-decision given in the I<fail_info> and I<*txt> parameters. 722 OSSL_CMP_certConf_cb() returns I<fail_info> if it is not equal to 0,
|
/freebsd/crypto/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 29 int fail_info, const char *text);
|
/freebsd/crypto/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 | 29 int fail_info, const char *text);
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 116 int fail_info, const char *text) in ossl_cmp_mock_srv_set_statusInfo() argument 125 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, text)) == NULL) in ossl_cmp_mock_srv_set_statusInfo()
|
/freebsd/crypto/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, 376 OSSL_CMP_STATUSINFO_new(int status, int fail_info, const char *text);
|
H A D | cmp.h | 469 int fail_info, const char **txt); 470 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 495 OSSL_CMP_STATUSINFO_new(int status, int fail_info, const char *text);
|