Home
last modified time | relevance | path

Searched refs:bodytype (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dcmp_msg_test.c22 int bodytype; member
89 fixture->bodytype, in execute_certreq_create_test()
123 EXECUTE_MSG_CREATION_TEST(ossl_cmp_msg_create(fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test()
146 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_set()
164 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_fails()
181 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr_without_key()
191 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr()
205 fixture->bodytype = OSSL_CMP_PKIBODY_RR; in test_cmp_create_certreq_with_invalid_bodytype()
223 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr()
240 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr_null()
[all …]
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod22 OSSL_ossl_cmp_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
24 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
52 which can be either of IR/CR/KUR/P10CR, depending on the given I<bodytype>.
56 Available CMP certificate request PKIMessage I<bodytype>s are:
71 which can be either of IP/CP/KUP, depending on the given I<bodytype>,
79 Available CMP certificate response PKIMessage I<bodytype>s are:
91 The list of all CMP PKIMessage I<bodytype>s is:
H A Dossl_cmp_mock_srv_new.pod38 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
78 for requests of the given I<bodytype>, or for all requests if I<bodytype> is 1.
79 A I<bodytype> of -1 can be used to disable this feature, which is the default.
H A Dossl_cmp_msg_create.pod75 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
93 using fields of B<ctx> for the header and B<bodytype> for the body.
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_msg.c185 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument
195 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create()
202 switch (bodytype) { in ossl_cmp_msg_create()
511 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument
526 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new()
573 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new()
724 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local
729 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV()
730 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV()
731 && bodytype != OSSL_CMP_PKIBODY_GENP) { in ossl_cmp_msg_gen_push0_ITAV()
H A Dcmp_server.c223 int bodytype; in process_cert_request() local
232 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request()
235 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request()
238 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request()
300 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
H A Dcmp_local.h950 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype);
951 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype,
953 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
H A Dcmp_client.c504 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument
538 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c177 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument
186 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
292 int bodytype, central_keygen; in process_cert_request() local
301 bodytype = OSSL_CMP_MSG_get_bodytype(cert_req); in process_cert_request()
302 if (ctx->sendError == 1 || ctx->sendError == bodytype) { in process_cert_request()
356 if (bodytype == OSSL_CMP_KUR in process_cert_request()
/freebsd/crypto/openssl/apps/include/
H A Dcmp_mock_srv.h36 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
/freebsd/contrib/sendmail/src/
H A Dusersmtp.c2062 char *bodytype; local
2145 bodytype = e->e_bodytype;
2148 if (bodytype == NULL &&
2153 bodytype = "8BITMIME";
2154 if (bodytype != NULL &&
2155 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
2158 " BODY=%s", bodytype);
H A Dutil.c397 check_bodytype(bodytype) in check_bodytype() argument
398 char *bodytype; in check_bodytype()
401 if (bodytype == NULL)
403 if (SM_STRCASEEQ(bodytype, "7bit"))
405 if (SM_STRCASEEQ(bodytype, "8bitmime"))
H A Dqueue.c5030 char bodytype[MAXNAME + 1]; /* EAI:ok */ local
5102 statmsg[0] = bodytype[0] = '\0';
5134 if ((i = strlen(&buf[1])) >= sizeof(bodytype))
5135 i = sizeof(bodytype) - 1;
5136 memmove(bodytype, &buf[1], i);
5137 bodytype[i] = '\0';
5173 if (statmsg[0] != '\0' || bodytype[0] != '\0')
5178 bodytype);
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES7666 Define ${bodytype} to be the body type (from the -B flag or the