Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 25 of 67) 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 \
204 proxy-cert-type.md \
205 proxy-cert.md \
220 proxy-ssl-auto-client-cert.md \
268 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
H A Dssl-no-revoke.md5 Help: Disable cert revocation checks (Schannel)
/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.c773 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 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";
77 $cert = $ARGV[1];
106 $certfile = "$srcdir/certs/$cert.pem";
107 $keyfile = "$srcdir/certs/$cert.key";
H A Dhttp2-server.pl40 my $cert = "Server-localhost-sv";
106 $certfile = "$srcdir/certs/$cert.pem";
107 $keyfile = "$srcdir/certs/$cert.key";
/curl/docs/libcurl/opts/
H A DCURLOPT_SSL_CTX_DATA.md56 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 DCURLOPT_SSLKEY_BLOB.md20 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 DCURLOPT_SSL_CTX_FUNCTION.md107 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 Dcerts.py119 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 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
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 Dtest32419 TLS-SRP with server cert checking

Completed in 30 milliseconds

123