Home
last modified time | relevance | path

Searched refs:content_type (Results 1 – 25 of 34) sorted by relevance

12

/openssl/util/perl/TLSProxy/
H A DRecord.pm80 my $content_type;
119 $content_type,
133 $content_type,
213 $content_type,
225 $content_type,
241 $content_type,
252 $content_type,
269 $content_type,
283 content_type => $content_type,
368 $self->content_type($content_type);
[all …]
H A DMessage.pm193 if ($record->content_type == TLSProxy::Record::RT_CCS) {
205 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
305 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
313 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/openssl/test/
H A Dhttp_test.c24 const char *content_type; member
38 const char *content_type, const char *txt, in mock_http_server() argument
113 args->content_type, args->txt, in http_bio_cb_ex()
130 const char *content_type; in test_http_method() local
135 content_type = "text/plain"; in test_http_method()
145 content_type = "application/x-x509-ca-cert"; in test_http_method()
153 mock_args.content_type = content_type; in test_http_method()
171 0 /* buf_size */, headers, content_type, in test_http_method()
210 const char *const content_type = "application/x-x509-ca-cert"; in test_http_keep_alive() local
218 mock_args.content_type = content_type; in test_http_keep_alive()
[all …]
/openssl/include/openssl/
H A Dhttp.h53 const char *content_type, int asn1,
55 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
79 const char *content_type, BIO *req,
96 const char *content_type, BIO *req,
/openssl/test/recipes/
H A D70-test_sslrecords.t30 my $content_type = undef;
76 $content_type = TLSProxy::Record::RT_APPLICATION_DATA;
90 $content_type = TLSProxy::Record::RT_HANDSHAKE;
359 $content_type,
373 $content_type,
698 last if $record->content_type == TLSProxy::Record::RT_CCS;
722 if ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
H A D70-test_tls13hrr.t173 $hrr_record->content_type(),
/openssl/crypto/http/
H A Dhttp_client.c249 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected() argument
265 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
266 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
279 const char *content_type, BIO *req) in set1_content() argument
286 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
304 if (content_type == NULL) { in set1_content()
307 if (OPENSSL_strncasecmp(content_type, "text/", 5) == 0) in set1_content()
355 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
1105 const char *content_type, BIO *req, in OSSL_HTTP_set1_request() argument
1128 && set1_content(rctx, content_type, req); in OSSL_HTTP_set1_request()
[all …]
/openssl/include/internal/
H A Dssl.h16 typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
H A Dquic_tserver.h193 int content_type,
/openssl/apps/include/
H A Dhttp_server.h85 const char *content_type,
H A Ds_apps.h48 void msg_cb(int write_p, int version, int content_type, const void *buf,
H A Dapps.h304 const char *content_type,
/openssl/doc/man3/
H A DSSL_CTX_set_msg_callback.pod18 int content_type, const void *buf,
24 int content_type, const void *buf,
28 void SSL_trace(int write_p, int version, int content_type,
65 =item I<content_type>
H A DOSSL_HTTP_REQ_CTX.pod38 const char *content_type, int asn1,
40 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
102 If the I<content_type> argument is not NULL,
109 For instance, if the I<content_type> argument specifies C<text/html>,
141 I<content_type> must be NULL if I<req> is NULL.
142 If I<content_type> isn't NULL,
H A DOSSL_HTTP_transfer.pod31 const char *content_type, BIO *req,
48 const char *content_type, BIO *req,
175 else HTTP POST with the contents of I<req> and optional I<content_type>, where
/openssl/ssl/quic/
H A Dquic_local.h265 int ossl_quic_trace(int write_p, int version, int content_type,
H A Dquic_trace.c559 int ossl_quic_trace(int write_p, int version, int content_type, in ossl_quic_trace() argument
565 switch (content_type) { in ossl_quic_trace()
H A Dquic_tserver.c557 int content_type, in ossl_quic_tserver_set_msg_callback() argument
/openssl/crypto/pkcs7/
H A Dpk7_lib.c142 p7->d.signed_and_enveloped->enc_data->content_type in PKCS7_set_type()
152 p7->d.enveloped->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
161 p7->d.encrypted->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
H A Dpk7_asn1.c200 ASN1_SIMPLE(PKCS7_ENC_CONTENT, content_type, ASN1_OBJECT),
/openssl/apps/lib/
H A Dhttp_server.c505 const char *content_type, in http_server_send_asn1_resp() argument
513 content_type, in http_server_send_asn1_resp()
H A Ds_cb.c646 void msg_cb(int write_p, int version, int content_type, const void *buf, in msg_cb() argument
662 switch (content_type) { in msg_cb()
703 BIO_snprintf(tmpbuf, sizeof(tmpbuf)-1, ", Unknown (content_type=%d)", content_type); in msg_cb()
707 …tmpbuf)-1, "Not TLS data or unknown version (version=%d, content_type=%d)", version, content_type); in msg_cb()
/openssl/ssl/record/
H A Drecord.h189 int content_type,
/openssl/test/helpers/
H A Dquictestlib.c90 static void noise_msg_callback(int write_p, int version, int content_type, in noise_msg_callback() argument
96 if (content_type == SSL3_RT_QUIC_FRAME_FULL) { in noise_msg_callback()
120 SSL_trace(write_p, version, content_type, buf, len, ssl, in noise_msg_callback()
/openssl/ssl/
H A Dt1_trce.c1711 void SSL_trace(int write_p, int version, int content_type, in SSL_trace() argument
1721 if (ossl_quic_trace(write_p, version, content_type, buf, msglen, ssl, in SSL_trace()
1734 switch (content_type) { in SSL_trace()

Completed in 167 milliseconds

12