/curl/lib/ |
H A D | setopt.c | 82 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()
|
H A D | setopt.h | 29 const struct curl_blob *blob) WARN_UNUSED_RESULT;
|
H A D | curl_ntlm_core.c | 266 } blob; in encrypt_des() local 275 memset(&blob, 0, sizeof(blob)); in encrypt_des() 276 blob.hdr.bType = PLAINTEXTKEYBLOB; in encrypt_des() 277 blob.hdr.bVersion = 2; in encrypt_des() 278 blob.hdr.aiKeyAlg = CALG_DES; in encrypt_des() 279 blob.len = sizeof(blob.key); in encrypt_des() 282 extend_key_56_to_64(key_56, blob.key); in encrypt_des() 285 Curl_des_set_odd_parity((unsigned char *) blob.key, sizeof(blob.key)); in encrypt_des() 288 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
|
/curl/tests/libtest/ |
H A D | lib678.c | 70 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 D | mk-lib1521.pl | 304 print "${pref} &blob);\n$check";
|
/curl/lib/vtls/ |
H A D | sectransp.c | 1179 const struct curl_blob *blob, in CopyIdentityFromPKCS12File() argument 1195 if(blob) { in CopyIdentityFromPKCS12File() 1197 (const unsigned char *)blob->data, blob->len); in CopyIdentityFromPKCS12File()
|
H A D | schannel.c | 557 bool blob = data->set.ssl.primary.cert_blob != NULL; in schannel_acquire_credential_handle() local 559 if(blob) { in schannel_acquire_credential_handle() 584 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle() 588 blob ? "(memory blob)" : data->set.ssl.primary.clientcert); in schannel_acquire_credential_handle() 593 if(fInCert || blob) { in schannel_acquire_credential_handle() 602 const char *cert_showfilename_error = blob ? in schannel_acquire_credential_handle() 659 if(!blob) in schannel_acquire_credential_handle()
|
H A D | openssl.c | 1128 SSL_CTX_use_certificate_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_certificate_blob() argument 1135 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_blob() 1166 SSL_CTX_use_PrivateKey_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_PrivateKey_blob() argument 1171 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_PrivateKey_blob() 1196 SSL_CTX_use_certificate_chain_blob(SSL_CTX *ctx, const struct curl_blob *blob, in SSL_CTX_use_certificate_chain_blob() argument 1206 BIO *in = BIO_new_mem_buf(blob->data, (int)(blob->len)); in SSL_CTX_use_certificate_chain_blob() 1259 (void)blob; /* unused */ in SSL_CTX_use_certificate_chain_blob()
|
/curl/packages/OS400/ |
H A D | ccsidcurl.c | 1254 struct curl_blob blob; in curl_easy_setopt_ccsid() local 1279 blob.data = cp; in curl_easy_setopt_ccsid() 1280 blob.len = pfsize; in curl_easy_setopt_ccsid() 1281 blob.flags = bp->flags | CURL_BLOB_COPY; in curl_easy_setopt_ccsid() 1282 bp = &blob; in curl_easy_setopt_ccsid() 1284 result = curl_easy_setopt(easy, tag, &blob); in curl_easy_setopt_ccsid()
|
H A D | curl.inc.in | 2857 d blob const likeds(curl_blob) 3281 d blob const likeds(curl_blob)
|
H A D | README.OS400 | 140 All blob options are also supported. 364 curl_easy_setopt_ccsid() supporting blob encoding conversion.
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_SSLCERT_BLOB.md | 22 CURLOPT_SSLCERT_BLOB - SSL client certificate from memory blob 41 If the blob is initialized with the flags member of struct curl_blob set to
|
H A D | CURLOPT_SSLKEY_BLOB.md | 18 CURLOPT_SSLKEY_BLOB - private key for client cert from memory blob 26 struct curl_blob *blob); 35 If the blob is initialized with the flags member of struct curl_blob set to 61 struct curl_blob blob; 63 blob.data = certificateData; 64 blob.len = filesize; 65 blob.flags = CURL_BLOB_COPY; 66 curl_easy_setopt(curl, CURLOPT_SSLCERT_BLOB, &blob); 69 blob.data = privateKeyData; 70 blob.len = privateKeySize; [all …]
|
H A D | CURLOPT_PROXY_CAINFO_BLOB.md | 47 If the blob is initialized with the flags member of struct curl_blob set to 71 struct curl_blob blob; 75 blob.data = strpem; 76 blob.len = strlen(strpem); 77 blob.flags = CURL_BLOB_COPY; 78 curl_easy_setopt(curl, CURLOPT_PROXY_CAINFO_BLOB, &blob);
|
H A D | CURLOPT_PROXY_ISSUERCERT_BLOB.md | 21 CURLOPT_PROXY_ISSUERCERT_BLOB - proxy issuer SSL certificate from memory blob 29 struct curl_blob *blob); 51 If the blob is initialized with the flags member of struct curl_blob set to 74 struct curl_blob blob; 78 blob.data = certificateData; 79 blob.len = filesize; 80 blob.flags = CURL_BLOB_COPY; 81 curl_easy_setopt(curl, CURLOPT_PROXY_ISSUERCERT_BLOB, &blob);
|
H A D | CURLOPT_PROXY_SSLCERT_BLOB.md | 22 CURLOPT_PROXY_SSLCERT_BLOB - SSL proxy client certificate from memory blob 30 struct curl_blob *blob); 41 If the blob is initialized with the flags member of struct curl_blob set to 64 struct curl_blob blob; 65 blob.data = certificateData; 66 blob.len = filesize; 67 blob.flags = CURL_BLOB_COPY; 72 curl_easy_setopt(curl, CURLOPT_PROXY_SSLCERT_BLOB, &blob);
|
H A D | CURLOPT_PROXY_SSLKEY_BLOB.md | 19 CURLOPT_PROXY_SSLKEY_BLOB - private key for proxy cert from memory blob 27 struct curl_blob *blob); 37 If the blob is initialized with the flags member of struct curl_blob set to 60 struct curl_blob blob; 63 blob.data = certificateData; 64 blob.len = filesize; 65 blob.flags = CURL_BLOB_COPY; 66 curl_easy_setopt(curl, CURLOPT_PROXY_SSLCERT_BLOB, &blob); 69 blob.data = privateKeyData; 70 blob.len = privateKeySize; [all …]
|
H A D | CURLOPT_ISSUERCERT_BLOB.md | 20 CURLOPT_ISSUERCERT_BLOB - issuer SSL certificate from memory blob 50 If the blob is initialized with the flags member of struct curl_blob set to 73 struct curl_blob blob; 75 blob.data = certificateData; 76 blob.len = filesize; 77 blob.flags = CURL_BLOB_COPY; 78 curl_easy_setopt(curl, CURLOPT_ISSUERCERT_BLOB, &blob);
|
H A D | CURLOPT_CAINFO_BLOB.md | 43 If the blob is initialized with the flags member of struct curl_blob set to 67 struct curl_blob blob; 69 blob.data = strpem; 70 blob.len = strlen(strpem); 71 blob.flags = CURL_BLOB_COPY; 72 curl_easy_setopt(curl, CURLOPT_CAINFO_BLOB, &blob);
|
/curl/docs/libcurl/ |
H A D | curl_easy_option_next.md | 55 CURLOT_BLOB, /* blob (struct curl_blob *) */
|