/curl/tests/unit/ |
H A D | unit1651.c | 41 static unsigned char cert[] = { variable 350 const char *beg = (const char *)&cert[0]; 351 const char *end = (const char *)&cert[sizeof(cert)]; 371 unsigned char backup = cert[i]; 372 cert[i] = (unsigned char) (byte & 0xff); 374 cert[i] = backup;
|
/curl/docs/cmdline-opts/ |
H A D | proxy-cert-type.md | 4 Long: proxy-cert-type 11 - proxy-cert 14 - --proxy-cert-type PEM --proxy-cert file -x https://proxy $URL 17 # `--proxy-cert-type` 23 Secure Transport and Schannel it is P12. If --proxy-cert is a pkcs11: URI then 26 Equivalent to --cert-type but used in HTTPS proxy context.
|
H A D | cert-type.md | 4 Long: cert-type 12 - cert 16 - --cert-type PEM --cert file $URL 19 # `--cert-type` 25 Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is
|
H A D | proxy-ssl-auto-client-cert.md | 4 Long: proxy-ssl-auto-client-cert 10 - ssl-auto-client-cert 13 - --proxy-ssl-auto-client-cert -x https://proxy $URL 16 # `--proxy-ssl-auto-client-cert` 18 Same as --ssl-auto-client-cert but used in HTTPS proxy context.
|
H A D | proxy-cert.md | 4 Long: proxy-cert 5 Arg: <cert[:passwd]> 13 - proxy-cert-type 15 - --proxy-cert file -x https://proxy $URL 18 # `--proxy-cert` 26 This option is the equivalent to --cert but used in HTTPS proxy context.
|
H A D | doh-cert-status.md | 4 Long: doh-cert-status 5 Help: Verify DoH server cert status OCSP-staple 12 - --doh-cert-status --doh-url https://doh.example $URL 15 # `--doh-cert-status` 17 Same as --cert-status but used for DoH (DNS-over-HTTPS).
|
H A D | ssl-auto-client-cert.md | 4 Long: ssl-auto-client-cert 11 - proxy-ssl-auto-client-cert 13 - --ssl-auto-client-cert $URL 16 # `--ssl-auto-client-cert`
|
H A D | cert-status.md | 4 Long: cert-status 7 Help: Verify server cert status OCSP-staple 13 - --cert-status $URL 16 # `--cert-status`
|
H A D | cert.md | 5 Long: cert 13 - cert-type 17 - --cert certfile --key keyfile $URL 20 # `--cert` 27 client certificate concatenated. See --cert and --key to specify them 39 `pkcs11` if none was provided and the --cert-type option is set as `ENG` if
|
H A D | Makefile.inc | 57 cert-status.md \ 58 cert-type.md \ 59 cert.md \ 89 doh-cert-status.md \ 204 proxy-cert-type.md \ 205 proxy-cert.md \ 220 proxy-ssl-auto-client-cert.md \ 268 ssl-auto-client-cert.md \
|
H A D | proxy-insecure.md | 5 Help: Skip HTTPS proxy cert verification 27 by a CA certificate present in the cert store. See this online resource for
|
H A D | key.md | 13 - cert 15 - --cert certificate --key here $URL
|
H A D | ssl-no-revoke.md | 5 Help: Disable cert revocation checks (Schannel)
|
/curl/tests/libtest/ |
H A D | lib3102.c | 35 int cert; in is_chain_in_order() local 42 for(cert = 0; cert < cert_info->num_of_certs; cert++) { in is_chain_in_order() 43 struct curl_slist *slist = cert_info->certinfo[cert]; in is_chain_in_order() 61 printf("cert %d\n", cert); in is_chain_in_order() 70 cert - 1, cert); in is_chain_in_order()
|
/curl/lib/vtls/ |
H A D | x509asn1.c | 773 cert->certificate.beg = beg; in Curl_parseX509() 774 cert->certificate.end = end; in Curl_parseX509() 798 cert->version.header = NULL; in Curl_parseX509() 811 cert->serialNumber = elem; in Curl_parseX509() 844 cert->issuerUniqueID.tag = cert->subjectUniqueID.tag = 0; in Curl_parseX509() 846 cert->issuerUniqueID.header = cert->subjectUniqueID.header = NULL; in Curl_parseX509() 847 cert->issuerUniqueID.beg = cert->issuerUniqueID.end = ""; in Curl_parseX509() 848 cert->subjectUniqueID.beg = cert->subjectUniqueID.end = ""; in Curl_parseX509() 850 cert->extensions.beg = cert->extensions.end = ""; in Curl_parseX509() 1123 for(ptr = cert.version.beg; ptr < cert.version.end; ptr++) in Curl_extract_certinfo() [all …]
|
/curl/docs/examples/ |
H A D | sessioninfo.c | 61 gnutls_x509_crt_t cert; in wrfu() local 64 if(GNUTLS_E_SUCCESS == gnutls_x509_crt_init(&cert)) { in wrfu() 66 gnutls_x509_crt_import(cert, &chainp[i], GNUTLS_X509_FMT_DER)) { in wrfu() 68 gnutls_x509_crt_print(cert, GNUTLS_CRT_PRINT_FULL, &dn)) { in wrfu() 75 gnutls_x509_crt_deinit(cert); in wrfu()
|
H A D | usercertinmem.c | 48 X509 *cert = NULL; in sslctx_function() local 131 cert = PEM_read_bio_X509(bio, NULL, 0, NULL); in sslctx_function() 132 if(!cert) { in sslctx_function() 137 ret = SSL_CTX_use_certificate((SSL_CTX*)sslctx, cert); in sslctx_function() 170 if(cert) in sslctx_function() 171 X509_free(cert); in sslctx_function()
|
/curl/tests/ |
H A D | http3-server.pl | 39 my $cert = "Server-localhost-sv"; 77 $cert = $ARGV[1]; 106 $certfile = "$srcdir/certs/$cert.pem"; 107 $keyfile = "$srcdir/certs/$cert.key";
|
H A D | http2-server.pl | 40 my $cert = "Server-localhost-sv"; 106 $certfile = "$srcdir/certs/$cert.pem"; 107 $keyfile = "$srcdir/certs/$cert.key";
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_SSL_CTX_DATA.md | 56 X509 *cert = NULL; 64 PEM_read_bio_X509(bio, &cert, 0, NULL); 65 if(!cert) 72 if(X509_STORE_add_cert(store, cert) == 0) 76 X509_free(cert); 87 char *mypem = /* example CA cert PEM - shortened */
|
H A D | CURLOPT_SSLKEY_BLOB.md | 20 CURLOPT_SSLKEY_BLOB - private key for client cert from memory blob 54 extern char *certificateData; /* point to cert */ 55 extern size_t filesize; /* size of cert */
|
H A D | CURLOPT_SSL_CTX_FUNCTION.md | 107 X509 *cert = NULL; 115 PEM_read_bio_X509(bio, &cert, 0, NULL); 116 if(!cert) 123 if(X509_STORE_add_cert(store, cert) == 0) 127 X509_free(cert); 138 char *mypem = /* example CA cert PEM - shortened */
|
/curl/tests/http/testenv/ |
H A D | certs.py | 119 cert: Any, 123 self._cert = cert 331 creds = Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer) 476 cert = csr.add_extension( 486 cert.add_extension( 490 cert.add_extension( 496 return cert 516 cert = csr.sign(private_key=issuer_key, 519 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer) 536 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer) [all …]
|
/curl/docs/ |
H A D | options-in-versions | 22 --cert (-E) 5.0 23 --cert-status 7.41.0 24 --cert-type 7.9.3 54 --doh-cert-status 7.76.0 170 --proxy-cert 7.52.0 171 --proxy-cert-type 7.52.0 186 --proxy-ssl-auto-client-cert 7.77.0 234 --ssl-auto-client-cert 7.77.0
|
/curl/tests/data/ |
H A D | test324 | 19 TLS-SRP with server cert checking
|