Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 25 of 65) sorted by relevance

123

/curl/tests/unit/
H A Dunit1651.c41 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 Dproxy-cert-type.md4 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 Dcert-type.md4 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 Dproxy-ssl-auto-client-cert.md4 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 Dproxy-cert.md4 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 Ddoh-cert-status.md4 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 Dssl-auto-client-cert.md4 Long: ssl-auto-client-cert
11 - proxy-ssl-auto-client-cert
13 - --ssl-auto-client-cert $URL
16 # `--ssl-auto-client-cert`
H A Dcert-status.md4 Long: cert-status
7 Help: Verify server cert status OCSP-staple
13 - --cert-status $URL
16 # `--cert-status`
H A Dcert.md5 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 DMakefile.inc57 cert-status.md \
58 cert-type.md \
59 cert.md \
89 doh-cert-status.md \
203 proxy-cert-type.md \
204 proxy-cert.md \
219 proxy-ssl-auto-client-cert.md \
265 ssl-auto-client-cert.md \
H A Dproxy-insecure.md5 Help: Skip HTTPS proxy cert verification
27 by a CA certificate present in the cert store. See this online resource for
H A Dkey.md13 - cert
15 - --cert certificate --key here $URL
/curl/tests/libtest/
H A Dlib3102.c35 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 Dx509asn1.c753 cert->certificate.beg = beg; in Curl_parseX509()
754 cert->certificate.end = end; in Curl_parseX509()
778 cert->version.header = NULL; in Curl_parseX509()
791 cert->serialNumber = elem; in Curl_parseX509()
824 cert->issuerUniqueID.tag = cert->subjectUniqueID.tag = 0; in Curl_parseX509()
826 cert->issuerUniqueID.header = cert->subjectUniqueID.header = NULL; in Curl_parseX509()
827 cert->issuerUniqueID.beg = cert->issuerUniqueID.end = ""; in Curl_parseX509()
828 cert->subjectUniqueID.beg = cert->subjectUniqueID.end = ""; in Curl_parseX509()
830 cert->extensions.beg = cert->extensions.end = ""; in Curl_parseX509()
1103 for(ptr = cert.version.beg; ptr < cert.version.end; ptr++) in Curl_extract_certinfo()
[all …]
H A Dx509asn1.h73 int Curl_parseX509(struct Curl_X509certificate *cert,
/curl/docs/examples/
H A Dsessioninfo.c61 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 Dusercertinmem.c48 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 Dhttp3-server.pl39 my $cert = "Server-localhost-sv";
76 $cert = $ARGV[1];
105 $certfile = "$srcdir/certs/$cert.pem";
106 $keyfile = "$srcdir/certs/$cert.key";
H A Dhttp2-server.pl40 my $cert = "Server-localhost-sv";
105 $certfile = "$srcdir/certs/$cert.pem";
106 $keyfile = "$srcdir/certs/$cert.key";
/curl/docs/libcurl/opts/
H A DCURLOPT_SSL_CTX_DATA.md53 X509 *cert = NULL;
61 PEM_read_bio_X509(bio, &cert, 0, NULL);
62 if(!cert)
69 if(X509_STORE_add_cert(store, cert) == 0)
73 X509_free(cert);
84 char *mypem = /* example CA cert PEM - shortened */
H A DCURLOPT_SSLKEY_BLOB.md18 CURLOPT_SSLKEY_BLOB - private key for client cert from memory blob
50 extern char *certificateData; /* point to cert */
51 extern size_t filesize; /* size of cert */
H A DCURLOPT_SSL_CTX_FUNCTION.md97 X509 *cert = NULL;
105 PEM_read_bio_X509(bio, &cert, 0, NULL);
106 if(!cert)
113 if(X509_STORE_add_cert(store, cert) == 0)
117 X509_free(cert);
128 char *mypem = /* example CA cert PEM - shortened */
/curl/tests/http/testenv/
H A Dcerts.py119 cert: Any,
123 self._cert = cert
330 creds = Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
472 cert = csr.add_extension(
482 cert.add_extension(
486 cert.add_extension(
492 return cert
512 cert = csr.sign(private_key=issuer_key,
515 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
533 return Credentials(name=name, cert=cert, pkey=pkey, issuer=issuer)
[all …]
/curl/docs/
H A Doptions-in-versions22 --cert (-E) 5.0
23 --cert-status 7.41.0
24 --cert-type 7.9.3
54 --doh-cert-status 7.76.0
169 --proxy-cert 7.52.0
170 --proxy-cert-type 7.52.0
185 --proxy-ssl-auto-client-cert 7.77.0
231 --ssl-auto-client-cert 7.77.0
/curl/tests/data/
H A Dtest32419 TLS-SRP with server cert checking

Completed in 35 milliseconds

123