Home
last modified time | relevance | path

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

/openssl-master/util/perl/TLSProxy/
A DRecord.pm83 print " Content type: ".$record_type{$content_type}."\n";
89 $content_type,
99 if ($content_type != RT_CCS
101 || $content_type != RT_ALERT)) {
168 $content_type,
179 content_type => $content_type,
234 if ($self->content_type() == RT_ALERT) {
262 $self->content_type($content_type);
365 sub content_type subroutine
369 $self->{content_type} = shift;
[all …]
A DMessage.pm180 if ($record->content_type == TLSProxy::Record::RT_CCS) {
192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
270 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
278 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/openssl-master/include/openssl/
A Dhttp.h48 const char *content_type, int asn1,
50 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
74 const char *content_type, BIO *req,
91 const char *content_type, BIO *req,
A Dpkcs7.h.in98 ASN1_OBJECT *content_type; member
A Dssl.h.in618 int content_type, const void *buf,
622 int content_type, const void *buf,
2238 void SSL_trace(int write_p, int version, int content_type,
/openssl-master/test/
A Dhttp_test.c121 const char content_type[] = "application/x-x509-ca-cert"; in test_http_x509() local
134 0 /* buf_size */, headers, content_type, in test_http_x509()
140 0 /* buf_size */, headers, content_type, in test_http_x509()
141 req, content_type, 1 /* expect_asn1 */, in test_http_x509()
163 const char *const content_type = "application/x-x509-ca-cert"; in test_http_keep_alive() local
182 content_type, 0 /* ASN.1 not expected */, in test_http_keep_alive()
/openssl-master/crypto/http/
A Dhttp_client.c237 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected() argument
253 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
254 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
267 const char *content_type, BIO *req) in set1_content() argument
271 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
289 if (content_type != NULL in set1_content()
311 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
951 const char *content_type, BIO *req, in OSSL_HTTP_set1_request() argument
974 && set1_content(rctx, content_type, req); in OSSL_HTTP_set1_request()
1138 const char *content_type, BIO *req, in OSSL_HTTP_transfer() argument
[all …]
/openssl-master/test/recipes/
A D70-test_sslrecords.t42 my $content_type = TLSProxy::Record::RT_APPLICATION_DATA;
52 $content_type = TLSProxy::Record::RT_HANDSHAKE;
267 $content_type,
552 last if $record->content_type == TLSProxy::Record::RT_CCS;
576 if ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
/openssl-master/apps/include/
A Dhttp_server.h103 const char *content_type,
A Ds_apps.h46 void msg_cb(int write_p, int version, int content_type, const void *buf,
A Dapps.h292 const char *content_type,
/openssl-master/doc/man3/
A DSSL_CTX_set_msg_callback.pod17 int content_type, const void *buf,
23 int content_type, const void *buf,
59 =item I<content_type>
A DOSSL_HTTP_REQ_CTX.pod37 const char *content_type, int asn1,
39 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
92 If the I<content_type> parameter
124 I<content_type> must be NULL if I<req> is NULL.
125 If I<content_type> isn't NULL,
A DOSSL_HTTP_transfer.pod31 const char *content_type, BIO *req,
48 const char *content_type, BIO *req,
152 else HTTP POST with the contents of I<req> and optional I<content_type>, where
/openssl-master/apps/lib/
A Dhttp_server.c508 const char *content_type, in http_server_send_asn1_resp() argument
515 content_type, in http_server_send_asn1_resp()
A Ds_cb.c558 void msg_cb(int write_p, int version, int content_type, const void *buf, in msg_cb() argument
574 switch (content_type) { in msg_cb()
615 BIO_snprintf(tmpbuf, sizeof(tmpbuf)-1, ", Unknown (content_type=%d)", content_type); in msg_cb()
619 …tmpbuf)-1, "Not TLS data or unknown version (version=%d, content_type=%d)", version, content_type); in msg_cb()
A Dapps.c2538 const char *content_type, in app_http_post_asn1() argument
2557 0 /* buf_size */, headers, content_type, req_mem, in app_http_post_asn1()
/openssl-master/crypto/pkcs7/
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()
A Dpk7_asn1.c201 ASN1_SIMPLE(PKCS7_ENC_CONTENT, content_type, ASN1_OBJECT),
/openssl-master/ssl/
A Dt1_trce.c1531 void SSL_trace(int write_p, int version, int content_type, in SSL_trace() argument
1537 switch (content_type) { in SSL_trace()
A Dssl_local.h974 void (*msg_callback) (int write_p, int version, int content_type,
1434 void (*msg_callback) (int write_p, int version, int content_type,
A Dssl_lib.c2437 (int write_p, int version, int content_type, in SSL_callback_ctrl()
2575 (int write_p, int version, int content_type, in SSL_CTX_callback_ctrl()
4615 int content_type, const void *buf, in SSL_CTX_set_msg_callback() argument
4623 int content_type, const void *buf, in SSL_set_msg_callback() argument
/openssl-master/
A DCHANGES.md12099 void cb(int write_p, int version, int content_type,
12106 TLS1_VERSION). 'content_type' is 0 in the case of SSL 2.0, or
13117 * In PKCS7_set_type() initialise content_type in PKCS7_ENC_CONTENT

Completed in 90 milliseconds