Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 575) sorted by relevance

12345678910>>...23

/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dtests.rs46 let cert = include_bytes!("../../test/cert.pem"); in test_cert_loading() localVariable
47 let cert = X509::from_pem(cert).unwrap(); in test_cert_loading() localVariable
58 let cert = include_bytes!("../../test/cert.pem"); in test_debug() localVariable
59 let cert = X509::from_pem(cert).unwrap(); in test_debug() localVariable
74 let cert = include_bytes!("../../test/cert.pem"); in test_cert_issue_validity() localVariable
75 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity() localVariable
85 let cert = include_bytes!("../../test/cert.pem"); in test_save_der() localVariable
86 let cert = X509::from_pem(cert).unwrap(); in test_save_der() localVariable
94 let cert = include_bytes!("../../test/cert.pem"); in test_subject_read_cn() localVariable
95 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn() localVariable
[all …]
/third_party/node/test/parallel/
Dtest-tls-check-server-identity.js37 cert: { subject: { CN: 'a.com' } }, property
42 cert: { subject: { CN: 'a.com' } }, property
47 cert: { subject: { CN: 'a.com' } }, property
52 { host: 'a.com', cert: { subject: { CN: 'a.com' } } }, property
53 { host: 'a.com', cert: { subject: { CN: 'A.COM' } } }, property
56 cert: { subject: { CN: 'b.com' } }, property
59 { host: 'a.com', cert: { subject: { CN: 'a.com.' } } }, property
62 cert: { subject: { CN: '.a.com' } }, property
72 cert: { subject: { CN: '8.8.8.8' } }, property
80 cert: { subject: { CN: '8.8.8.8' }, subjectaltname: 'DNS:8.8.8.8' }, property
[all …]
Dtest-tls-passphrase.js33 const cert = fixtures.readKey('rsa_cert.crt'); constant
47 cert: cert, property
59 cert: cert, property
66 cert: cert, property
74 cert: cert, property
83 cert: [cert], property
90 cert: [cert], property
98 cert: [cert], property
107 cert: cert.toString(), property
114 cert: cert.toString(), property
[all …]
Dtest-tls-client-verify.js34 cert: 'agent2-cert', property
36 { ok: true, key: 'agent1-key', cert: 'agent1-cert' }, property
37 { ok: false, key: 'agent2-key', cert: 'agent2-cert' }, property
38 { ok: false, key: 'agent3-key', cert: 'agent3-cert' }, property
43 cert: 'agent2-cert', property
45 { ok: false, key: 'agent1-key', cert: 'agent1-cert' }, property
46 { ok: false, key: 'agent2-key', cert: 'agent2-cert' }, property
47 { ok: false, key: 'agent3-key', cert: 'agent3-cert' }, property
52 cert: 'agent2-cert', property
54 { ok: true, key: 'agent1-key', cert: 'agent1-cert' }, property
[all …]
Dtest-tls-client-auth.js15 function checkServerIdentity(hostname, cert) { argument
35 cert: client.cert, property
41 cert: server.cert, property
58 cert: server.cert, property
75 cert: server.cert, property
95 cert: server.cert, property
118 cert: client.single, property
124 cert: server.single, property
137 cert: client.single, property
143 cert: server.single, property
[all …]
Dtest-tls-sni-option.js37 cert: loadPEM('agent2-cert'), property
60 cert: loadPEM('agent1-cert'), property
65 cert: loadPEM('agent3-cert') property
75 cert: loadPEM('agent1-cert'), property
88 cert: loadPEM('agent4-cert'), property
101 cert: loadPEM('agent2-cert'), property
114 cert: loadPEM('agent3-cert'), property
127 cert: loadPEM('agent3-cert'), property
Dtest-tls-cert-regression.js30 const cert = constant
69 function test(cert, key, cb) { argument
71 cert, property
Dtest-tls-secure-context-usage-order.js20 cert: loadPEM('agent2-cert'), property
27 cert: loadPEM('agent1-cert'), property
33 cert: loadPEM('agent1-cert'), property
60 cert: loadPEM('agent1-cert'), property
Dtest-tls-options-boolean-check.js66 tls.createServer({ key, cert }); field
86 tls.createServer({ key, cert }); field
112 tls.createServer({ key, cert }); field
133 tls.createServer({ key, cert, ca }); property
147 tls.createServer({ key, cert, ca }); property
166 tls.createSecureContext({ key, cert, ca }); property
Dtest-tls-zero-clear-in.js31 const cert = fixtures.readKey('rsa_cert.crt'); constant
35 cert, property
45 cert: cert, property
Dtest-tls-multiple-cas-as-string.js15 const cert = fixtures.readKey('agent3-cert.pem', 'utf8'); constant
19 const server = tls.createServer({ ca, cert, key }); property
21 server.addContext('agent3', { ca, cert, key }); property
Dtest-tls-multi-key.js40 cert: [ property
57 cert: [ property
73 cert: [ property
90 cert: [ property
108 cert: [ property
127 cert: [ property
Dtest-https-options-boolean-check.js66 https.createServer({ key, cert }); field
87 https.createServer({ key, cert }); field
113 https.createServer({ key, cert }); field
134 https.createServer({ key, cert, ca }); property
148 https.createServer({ key, cert, ca }); property
Dtest-tls-sni-server-client.js38 cert: loadPEM('agent2-cert') property
44 cert: loadPEM('agent1-cert') property
48 cert: loadPEM('agent3-cert') property
53 cert: loadPEM('agent6-cert') property
Dtest-x509-escaping.js28 cert: leafPEM + intermPEM, property
116 const cert = new X509Certificate(pem); constant
123 cert: pem, property
222 const cert = new X509Certificate(pem); constant
230 cert: pem, property
335 const cert = new X509Certificate(pem); constant
344 cert: pem, property
437 const cert = fixtures.readKey('incorrect_san_correct_subject-cert.pem'); constant
455 const server = tls.createServer({ key, cert }, common.mustNotCall()); field
476 const cert = fixtures.readKey('irrelevant_san_correct_subject-cert.pem'); constant
[all …]
/third_party/python/Lib/test/
Dmake_ssl_certs.py228 cert, key = make_cert_key('localhost', ext='req_x509_extensions_simple') variable
246 cert, key = make_cert_key('fakehostname', ext='req_x509_extensions_simple') variable
251 cert, key = make_cert_key('localhost', sign=True) variable
256 cert, key = make_cert_key('fakehostname', sign=True) variable
261 cert, key = make_cert_key( variable
282 cert, key = make_cert_key('allsans', sign=True, extra_san='\n'.join(extra_san)) variable
299 cert, key = make_cert_key('idnsans', sign=True, extra_san='\n'.join(extra_san)) variable
304 cert, key = make_cert_key('nosan', sign=True, ext='req_x509_extensions_nosan') variable
/third_party/node/src/crypto/
Dcrypto_x509.cc33 ManagedX509::ManagedX509(X509Pointer&& cert) : cert_(std::move(cert)) {} in ManagedX509()
58 X509Certificate* cert; in Fingerprint() local
111 X509Pointer cert, in New()
119 std::shared_ptr<ManagedX509> cert, in New()
138 X509* cert = SSL_get_certificate(ssl.get()); in GetCert() local
156 X509Pointer cert(is_server ? SSL_get_peer_certificate(ssl.get()) : nullptr); in GetPeerCert() local
186 Local<Object> cert; in Parse() local
211 X509Certificate* cert; in ReturnPropertyThroughBIO() local
247 X509Certificate* cert; in ReturnProperty() local
267 X509Certificate* cert; in PublicKey() local
[all …]
/third_party/nghttp2/src/
Dshrpx_tls_test.cc199 auto cert = PEM_read_X509(f, nullptr, nullptr, nullptr); in load_cert() local
232 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_numeric_hostname() local
245 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_numeric_hostname() local
258 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_numeric_hostname() local
271 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/ipaddr.crt"); in test_shrpx_tls_verify_numeric_hostname() local
284 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/nosan_ip.crt"); in test_shrpx_tls_verify_numeric_hostname() local
298 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_dns_hostname() local
309 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_dns_hostname() local
320 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/verify_hostname.crt"); in test_shrpx_tls_verify_dns_hostname() local
330 auto cert = load_cert(NGHTTP2_SRC_DIR "/testdata/nosan.crt"); in test_shrpx_tls_verify_dns_hostname() local
/third_party/node/test/sequential/
Dtest-tls-connect.js36 const cert = fixtures.readKey('rsa_cert.crt'); constant
39 const options = { cert: cert, key: key, port: common.PORT }; property
50 const cert = fixtures.readKey('rsa_cert.crt'); constant
55 cert: cert, property
/third_party/node/deps/openssl/openssl/crypto/ess/
Dess_lib.c42 X509 *cert = sk_X509_value(certs, i); in OSSL_ESS_signing_cert_new_init() local
57 static ESS_CERT_ID *ESS_CERT_ID_new_init(const X509 *cert, in ESS_CERT_ID_new_init()
119 X509 *cert = sk_X509_value(certs, i); in OSSL_ESS_signing_cert_v2_new_init() local
137 const X509 *cert, in ESS_CERT_ID_V2_new_init()
197 static int ess_issuer_serial_cmp(const ESS_ISSUER_SERIAL *is, const X509 *cert) in ess_issuer_serial_cmp()
220 const X509 *cert; in find() local
/third_party/openssl/crypto/ess/
Dess_lib.c42 X509 *cert = sk_X509_value(certs, i); in OSSL_ESS_signing_cert_new_init() local
57 static ESS_CERT_ID *ESS_CERT_ID_new_init(const X509 *cert, in ESS_CERT_ID_new_init()
119 X509 *cert = sk_X509_value(certs, i); in OSSL_ESS_signing_cert_v2_new_init() local
137 const X509 *cert, in ESS_CERT_ID_V2_new_init()
197 static int ess_issuer_serial_cmp(const ESS_ISSUER_SERIAL *is, const X509 *cert) in ess_issuer_serial_cmp()
220 const X509 *cert; in find() local
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dx509v3.c45 void x509_certificate_free(struct x509_certificate *cert) in x509_certificate_free()
67 void x509_certificate_chain_free(struct x509_certificate *cert) in x509_certificate_chain_free()
220 struct x509_certificate *cert, in x509_parse_public_key()
693 struct x509_certificate *cert, const u8 **next) in x509_parse_validity()
775 static int x509_parse_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_key_usage()
812 static int x509_parse_ext_basic_constraints(struct x509_certificate *cert, in x509_parse_ext_basic_constraints()
1069 static int x509_parse_ext_subject_alt_name(struct x509_certificate *cert, in x509_parse_ext_subject_alt_name()
1096 static int x509_parse_ext_issuer_alt_name(struct x509_certificate *cert, in x509_parse_ext_issuer_alt_name()
1172 static int x509_parse_ext_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_ext_key_usage()
1229 static int x509_parse_extension_data(struct x509_certificate *cert, in x509_parse_extension_data()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dx509v3.c45 void x509_certificate_free(struct x509_certificate *cert) in x509_certificate_free()
67 void x509_certificate_chain_free(struct x509_certificate *cert) in x509_certificate_chain_free()
217 struct x509_certificate *cert, in x509_parse_public_key()
687 struct x509_certificate *cert, const u8 **next) in x509_parse_validity()
765 static int x509_parse_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_key_usage()
798 static int x509_parse_ext_basic_constraints(struct x509_certificate *cert, in x509_parse_ext_basic_constraints()
1049 static int x509_parse_ext_subject_alt_name(struct x509_certificate *cert, in x509_parse_ext_subject_alt_name()
1073 static int x509_parse_ext_issuer_alt_name(struct x509_certificate *cert, in x509_parse_ext_issuer_alt_name()
1146 static int x509_parse_ext_certificate_policies(struct x509_certificate *cert, in x509_parse_ext_certificate_policies()
1270 static int x509_parse_ext_ext_key_usage(struct x509_certificate *cert, in x509_parse_ext_ext_key_usage()
[all …]
/third_party/openssl/crypto/ocsp/
Docsp_srv.c157 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) in OCSP_basic_add1_cert()
236 int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_name()
246 int OCSP_RESPID_set_by_key_ex(OCSP_RESPID *respid, X509 *cert, in OCSP_RESPID_set_by_key_ex()
279 int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_key()
286 int OCSP_RESPID_match_ex(OCSP_RESPID *respid, X509 *cert, OSSL_LIB_CTX *libctx, in OCSP_RESPID_match_ex()
322 int OCSP_RESPID_match(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_match()
/third_party/node/deps/openssl/openssl/crypto/ocsp/
Docsp_srv.c157 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) in OCSP_basic_add1_cert()
236 int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_name()
246 int OCSP_RESPID_set_by_key_ex(OCSP_RESPID *respid, X509 *cert, in OCSP_RESPID_set_by_key_ex()
279 int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_key()
286 int OCSP_RESPID_match_ex(OCSP_RESPID *respid, X509 *cert, OSSL_LIB_CTX *libctx, in OCSP_RESPID_match_ex()
322 int OCSP_RESPID_match(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_match()

12345678910>>...23