Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 22 of 22) sorted by relevance

/curl/docs/libcurl/opts/
H A DCURLOPT_PROXY_SSLKEY_BLOB.md20 CURLOPT_PROXY_SSLKEY_BLOB - private key for proxy cert from memory blob
28 struct curl_blob *blob);
38 If the blob is initialized with the flags member of struct curl_blob set to
63 struct curl_blob blob;
66 blob.data = certificateData;
67 blob.len = filesize;
68 blob.flags = CURL_BLOB_COPY;
69 curl_easy_setopt(curl, CURLOPT_PROXY_SSLCERT_BLOB, &blob);
72 blob.data = privateKeyData;
73 blob.len = privateKeySize;
[all …]
H A DCURLOPT_SSLKEY_BLOB.md20 CURLOPT_SSLKEY_BLOB - private key for client cert from memory blob
28 struct curl_blob *blob);
37 If the blob is initialized with the flags member of struct curl_blob set to
65 struct curl_blob blob;
67 blob.data = certificateData;
68 blob.len = filesize;
69 blob.flags = CURL_BLOB_COPY;
70 curl_easy_setopt(curl, CURLOPT_SSLCERT_BLOB, &blob);
73 blob.data = privateKeyData;
74 blob.len = privateKeySize;
[all …]
H A DCURLOPT_PROXY_SSLCERT_BLOB.md23 CURLOPT_PROXY_SSLCERT_BLOB - SSL proxy client certificate from memory blob
31 struct curl_blob *blob);
42 If the blob is initialized with the flags member of struct curl_blob set to
67 struct curl_blob blob;
68 blob.data = certificateData;
69 blob.len = filesize;
70 blob.flags = CURL_BLOB_COPY;
75 curl_easy_setopt(curl, CURLOPT_PROXY_SSLCERT_BLOB, &blob);
H A DCURLOPT_PROXY_ISSUERCERT_BLOB.md22 CURLOPT_PROXY_ISSUERCERT_BLOB - proxy issuer SSL certificate from memory blob
30 struct curl_blob *blob);
52 If the blob is initialized with the flags member of struct curl_blob set to
77 struct curl_blob blob;
81 blob.data = certificateData;
82 blob.len = filesize;
83 blob.flags = CURL_BLOB_COPY;
84 curl_easy_setopt(curl, CURLOPT_PROXY_ISSUERCERT_BLOB, &blob);
H A DCURLOPT_CAINFO_BLOB.md44 If the blob is initialized with the flags member of struct curl_blob set to
70 struct curl_blob blob;
72 blob.data = strpem;
73 blob.len = strlen(strpem);
74 blob.flags = CURL_BLOB_COPY;
75 curl_easy_setopt(curl, CURLOPT_CAINFO_BLOB, &blob);
H A DCURLOPT_PROXY_CAINFO_BLOB.md48 If the blob is initialized with the flags member of struct curl_blob set to
74 struct curl_blob blob;
78 blob.data = strpem;
79 blob.len = strlen(strpem);
80 blob.flags = CURL_BLOB_COPY;
81 curl_easy_setopt(curl, CURLOPT_PROXY_CAINFO_BLOB, &blob);
H A DCURLOPT_ISSUERCERT_BLOB.md21 CURLOPT_ISSUERCERT_BLOB - issuer SSL certificate from memory blob
51 If the blob is initialized with the flags member of struct curl_blob set to
76 struct curl_blob blob;
78 blob.data = certificateData;
79 blob.len = filesize;
80 blob.flags = CURL_BLOB_COPY;
81 curl_easy_setopt(curl, CURLOPT_ISSUERCERT_BLOB, &blob);
H A DCURLOPT_SSLCERT_BLOB.md24 CURLOPT_SSLCERT_BLOB - SSL client certificate from memory blob
43 If the blob is initialized with the flags member of struct curl_blob set to
/curl/tests/libtest/
H A Dlib678.c70 struct curl_blob blob; in test_cert_blob() local
88 blob.data = certdata; in test_cert_blob()
89 blob.len = certsize; in test_cert_blob()
90 blob.flags = CURL_BLOB_COPY; in test_cert_blob()
91 curl_easy_setopt(curl, CURLOPT_CAINFO_BLOB, &blob); in test_cert_blob()
107 struct curl_blob blob = {0}; in test() local
110 w = curl_easy_setopt(e, CURLOPT_CAINFO_BLOB, &blob); in test()
H A Dmk-lib1521.pl534 print $fh "${fpref} &blob);\n$check";
/curl/lib/
H A Dcurl_ntlm_core.c270 } blob; in encrypt_des() local
279 memset(&blob, 0, sizeof(blob)); in encrypt_des()
280 blob.hdr.bType = PLAINTEXTKEYBLOB; in encrypt_des()
281 blob.hdr.bVersion = 2; in encrypt_des()
282 blob.hdr.aiKeyAlg = CALG_DES; in encrypt_des()
283 blob.len = sizeof(blob.key); in encrypt_des()
286 extend_key_56_to_64(key_56, blob.key); in encrypt_des()
289 Curl_des_set_odd_parity((unsigned char *) blob.key, sizeof(blob.key)); in encrypt_des()
292 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
H A Dsetopt.h29 const struct curl_blob *blob) WARN_UNUSED_RESULT;
H A Dsetopt.c82 const struct curl_blob *blob) in Curl_setblobopt() argument
89 if(blob) { in Curl_setblobopt()
91 if(blob->len > CURL_MAX_INPUT_LENGTH) in Curl_setblobopt()
95 ((blob->flags & CURL_BLOB_COPY) ? blob->len : 0)); in Curl_setblobopt()
98 *nblob = *blob; in Curl_setblobopt()
99 if(blob->flags & CURL_BLOB_COPY) { in Curl_setblobopt()
102 memcpy(nblob->data, blob->data, blob->len); in Curl_setblobopt()
2953 struct curl_blob *blob) in setopt_blob() argument
2960 return Curl_setblobopt(&data->set.blobs[BLOB_CERT], blob); in setopt_blob()
2987 blob); in setopt_blob()
[all …]
/curl/packages/OS400/
H A Dccsidcurl.c1255 struct curl_blob blob; in curl_easy_setopt_ccsid() local
1280 blob.data = cp; in curl_easy_setopt_ccsid()
1281 blob.len = pfsize; in curl_easy_setopt_ccsid()
1282 blob.flags = bp->flags | CURL_BLOB_COPY; in curl_easy_setopt_ccsid()
1283 bp = &blob; in curl_easy_setopt_ccsid()
1285 result = curl_easy_setopt(easy, tag, &blob); in curl_easy_setopt_ccsid()
H A DREADME.OS400140 All blob options are also supported.
363 curl_easy_setopt_ccsid() supporting blob encoding conversion.
H A Dcurl.inc.in2863 d blob const likeds(curl_blob)
3287 d blob const likeds(curl_blob)
/curl/docs/libcurl/
H A Dcurl_easy_option_next.md56 CURLOT_BLOB, /* blob (struct curl_blob *) */
/curl/src/
H A Dtool_operate.c1226 struct curl_blob blob; in config2setopts() local
1227 blob.data = (void *)curl_ca_embed; in config2setopts()
1228 blob.len = strlen((const char *)curl_ca_embed); in config2setopts()
1229 blob.flags = CURL_BLOB_NOCOPY; in config2setopts()
1232 blob.len); in config2setopts()
1233 result = curl_easy_setopt(curl, CURLOPT_CAINFO_BLOB, &blob); in config2setopts()
1240 struct curl_blob blob; in config2setopts() local
1241 blob.data = (void *)curl_ca_embed; in config2setopts()
1242 blob.len = strlen((const char *)curl_ca_embed); in config2setopts()
1243 blob.flags = CURL_BLOB_NOCOPY; in config2setopts()
[all …]
/curl/lib/vtls/
H A Dschannel.c563 bool blob = data->set.ssl.primary.cert_blob != NULL; in schannel_acquire_credential_handle() local
565 if(blob) { in schannel_acquire_credential_handle()
590 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle()
594 blob ? "(memory blob)" : data->set.ssl.primary.clientcert); in schannel_acquire_credential_handle()
599 if(fInCert || blob) { in schannel_acquire_credential_handle()
608 const char *cert_showfilename_error = blob ? in schannel_acquire_credential_handle()
665 if(!blob) in schannel_acquire_credential_handle()
H A Dopenssl.c1156 SSL_CTX_use_certificate_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_certificate_blob() argument
1163 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_blob()
1194 SSL_CTX_use_PrivateKey_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_PrivateKey_blob() argument
1199 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_PrivateKey_blob()
1224 SSL_CTX_use_certificate_chain_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_certificate_chain_blob() argument
1234 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_chain_blob()
1287 (void)blob; /* unused */ in SSL_CTX_use_certificate_chain_blob()
H A Dsectransp.c585 const struct curl_blob *blob, in CopyIdentityFromPKCS12File() argument
601 if(blob) { in CopyIdentityFromPKCS12File()
603 (const unsigned char *)blob->data, in CopyIdentityFromPKCS12File()
604 (CFIndex)blob->len); in CopyIdentityFromPKCS12File()
/curl/.github/workflows/
H A Dwindows.yml703 …# https://github.com/curl/curl-for-win/blob/3951808deb04df9489ee17430f236ed54436f81a/libssh.sh#L6-…

Completed in 84 milliseconds