Home
last modified time | relevance | path

Searched refs:crt (Results 1 – 25 of 145) sorted by relevance

123456

/third_party/mbedtls/tests/data_files/dir4/
DReadme5 cert11.crt -> cert12.crt (max_pathlen=0) -> cert13.crt -> cert14.crt
10 cert21.crt (max_pathlen=0) -> cert22.crt -> cert23.crt
15 cert31.crt (max_pathlen=1) -> cert32.crt -> cert33.crt -> cert34.crt
20 cert41.crt -> cert42.crt (max_pathlen=1) -> cert43.crt -> cert44.crt -> cert45.crt
25 cert51.crt -> cert52.crt (max_pathlen=1) -> cert53.crt -> cert54.crt
30 cert61.crt (max_pathlen=1) -> cert62.crt -> cert63.crt
36 cert71.crt (max_pathlen=1) -> cert72.crt -> cert73.crt (self signed) -> cert74.crt -> cert74.crt
41 cert81.crt -> cert82.crt (max_pathlen=0) -> cert83.crt
46 cert91.crt (max_pathlen=0) -> cert92.crt
/third_party/mbedtls/tests/data_files/
DReadme-x509.txt7 - test-ca.crt aka "C=NL, O=PolarSSL, CN=PolarSSL Test CA"
9 test-ca-sha1.crt and test-ca-sha256.crt use the same key, signed with
11 - test-ca2*.crt aka "C=NL, O=PolarSSL, CN=Polarssl Test EC CA"
17 - test-int-ca.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate CA"
19 - test-int-ca-exp.crt is a copy that is expired
20 - test-int-ca2.crt "C=NL, O=PolarSSL, CN=PolarSSL Test Intermediate EC CA"
23 A third intermediate CA is signed by test-int-ca2.crt:
24 - test-int-ca3.crt "C=UK, O=mbed TLS, CN=mbed TLS Test intermediate CA 3"
30 - test-ca-v1.crt: v1 "CA", signs
31 server1-v1.crt: v1 "intermediate CA", signs
[all …]
DMakefile39 test_ca_crt = test-ca.crt
52 parse_input/test-ca.crt test-ca.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
54 all_final += test-ca.crt
56 parse_input/test-ca.crt.der: parse_input/test-ca.crt
63 test-ca-sha1.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
65 all_final += test-ca-sha1.crt
67 test-ca-sha1.crt.der: test-ca-sha1.crt
69 all_final += test-ca-sha1.crt.der
71 test-ca-sha256.crt: $(test_ca_key_file_rsa) test-ca.req.sha256
73 all_final += test-ca-sha256.crt
[all …]
/third_party/mbedtls/library/
Dx509_crt.c85 mbedtls_x509_crt *crt; member
388 ver_chain->items[i].crt = NULL; in x509_crt_verify_chain_reset()
763 mbedtls_x509_crt *crt, in x509_get_crt_ext() argument
775 if ((ret = mbedtls_x509_get_ext(p, end, &crt->v3_ext, 3)) != 0) { in x509_get_crt_ext()
779 end = crt->v3_ext.p + crt->v3_ext.len; in x509_get_crt_ext()
836 ret = cb(p_ctx, crt, &extn_oid, is_critical, *p, end_ext_octet); in x509_get_crt_ext()
856 if ((crt->ext_types & ext_type) != 0) { in x509_get_crt_ext()
860 crt->ext_types |= ext_type; in x509_get_crt_ext()
866 &crt->ca_istrue, &crt->max_pathlen)) != 0) { in x509_get_crt_ext()
874 &crt->key_usage)) != 0) { in x509_get_crt_ext()
[all …]
/third_party/openssl/test/
Dv3nametest.c85 static int set_cn(X509 *crt, ...) in set_cn() argument
91 va_start(ap, crt); in set_cn()
108 if (!X509_set_subject_name(crt, n)) in set_cn()
124 static int set_altname(X509 *crt, ...) in set_altname() argument
131 va_start(ap, crt); in set_altname()
163 if (!X509_add1_ext_i2d(crt, NID_subject_alt_name, gens, 0, 0)) in set_altname()
174 static int set_cn1(X509 *crt, const char *name) in set_cn1() argument
176 return set_cn(crt, NID_commonName, name, 0); in set_cn1()
179 static int set_cn_and_email(X509 *crt, const char *name) in set_cn_and_email() argument
181 return set_cn(crt, NID_commonName, name, in set_cn_and_email()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function64 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
67 ((void) crt);
74 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
77 ((void) crt);
145 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
149 ((void) crt);
202 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags)
213 ret = mbedtls_x509_serial_gets(p, n, &crt->serial);
219 ret = mbedtls_x509_dn_gets(p, n, &crt->subject);
309 int parse_crt_ext_cb(void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid,
[all …]
Dtest_suite_x509write.data63 …10144406":MBEDTLS_MD_SHA1:0:0:"NULL":0:0:1:-1:"data_files/server1.crt":0:0:"data_files/test-ca.crt"
67 …9700210144406":"20290210144406":MBEDTLS_MD_SHA1:0:0:"NULL":0:0:1:-1:"":0:0:"data_files/test-ca.crt"
71 …0190210144406":"20500210144406":MBEDTLS_MD_SHA1:0:0:"NULL":0:0:1:-1:"":0:0:"data_files/test-ca.crt"
75 …9700210144406":"20500210144406":MBEDTLS_MD_SHA1:0:0:"NULL":0:0:1:-1:"":0:0:"data_files/test-ca.crt"
79 …0500210144406":"20590210144406":MBEDTLS_MD_SHA1:0:0:"NULL":0:0:1:-1:"":0:0:"data_files/test-ca.crt"
83 …_KEY_ENCIPHERMENT:1:"NULL":0:0:1:-1:"data_files/server1.key_usage.crt":0:0:"data_files/test-ca.crt"
87 …_SHA1:0:0:"serverAuth":0:0:1:-1:"data_files/server1.key_ext_usage.crt":0:0:"data_files/test-ca.crt"
91 …Signing,timeStamping":0:0:1:-1:"data_files/server1.key_ext_usages.crt":0:0:"data_files/test-ca.crt"
95 …X509_NS_CERT_TYPE_SSL_SERVER:1:1:-1:"data_files/server1.cert_type.crt":0:0:"data_files/test-ca.crt"
99 …:0:"NULL":0:0:1:MBEDTLS_X509_CRT_VERSION_1:"data_files/server1.v1.crt":0:0:"data_files/test-ca.crt"
[all …]
Dtest_suite_x509parse.data3 x509_cert_info:"data_files/server1.crt":"cert. version \: 3\nserial number \: 01\nissuer na…
7 x509_cert_info:"data_files/server1.crt.der":"cert. version \: 3\nserial number \: 01\nissue…
11 x509_cert_info:"data_files/server2.crt":"cert. version \: 3\nserial number \: 02\nissuer na…
15 x509_cert_info:"data_files/server2.crt.der":"cert. version \: 3\nserial number \: 02\nissue…
19 x509_cert_info:"data_files/test-ca.crt":"cert. version \: 3\nserial number \: 03\nissuer na…
23 x509_cert_info:"data_files/test-ca.crt.der":"cert. version \: 3\nserial number \: 03\nissue…
27 x509_cert_info:"data_files/cert_md5.crt":"cert. version \: 3\nserial number \: 06\nissuer n…
31 x509_cert_info:"data_files/cert_sha1.crt":"cert. version \: 3\nserial number \: 07\nissuer …
35 x509_cert_info:"data_files/cert_sha224.crt":"cert. version \: 3\nserial number \: 08\nissue…
39 x509_cert_info:"data_files/cert_sha256.crt":"cert. version \: 3\nserial number \: 09\nissue…
[all …]
Dtest_suite_x509write.function337 mbedtls_x509write_cert crt;
366 mbedtls_x509write_crt_init(&crt);
416 mbedtls_x509write_crt_set_version(&crt, ver);
422 TEST_ASSERT(mbedtls_x509write_crt_set_serial(&crt, &serial_mpi) == 0);
424 TEST_ASSERT(mbedtls_x509write_crt_set_serial_raw(&crt, serial_arg->x,
427 TEST_ASSERT(mbedtls_x509write_crt_set_validity(&crt, not_before,
429 mbedtls_x509write_crt_set_md_alg(&crt, md_type);
430 TEST_ASSERT(mbedtls_x509write_crt_set_issuer_name(&crt, issuer_name) == 0);
431 TEST_ASSERT(mbedtls_x509write_crt_set_subject_name(&crt, subject_name) == 0);
432 mbedtls_x509write_crt_set_subject_key(&crt, &subject_key);
[all …]
/third_party/curl/scripts/
Dmk-ca-bundle.pl301 my $crt = $ARGV[0] || 'ca-bundle.crt';
304 my $stdout = $crt eq '-';
308 my $oldhash = oldhash($crt);
363 exit 0 if -e $crt && !$opt_f;
372 exit 1 if -e $crt || ! -r $txt;
404 open(CRT,">$crt.~") or die "Couldn't open $crt.~: $!\n";
669 $pipe .= " >> $crt.~";
670 close(CRT) or die "Couldn't close $crt.~: $!";
676 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!";
681 $pipe .= " >> $crt.~";
[all …]
/third_party/openssl/test/recipes/80-test_cmp_http_data/
Dtest_credentials.csv3 …ert/key ignored, -section,, -ref,_PBM_REF, -secret,_PBM_SECRET, -cert,root.crt, -key,signer.p12, -…
6 0,wrong secret - correct cert, -section,,BLANK,, -secret,pass:wrong, -cert,signer.crt, -key,signer.…
9 1,empty ref but correct cert, -section,, -ref,"""",BLANK,, -cert,signer.crt, -key,signer.p12, -keyp…
10 1,wrong ref but correct cert, -section,, -ref,wrong,BLANK,, -cert,signer.crt, -key,signer.p12, -key…
12 1,valid cert and key and keypass, -section,,BLANK,,-secret,"""", -cert,signer.crt, -key,signer.p12,…
14 0,key missing arg, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,, -keypass,pass:12345,BLANK,,BLA…
15 0,keypass missing arg, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,,BLANK,…
16 0,keypass empty string, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,pass:,…
17 1,keypass no prefix, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,12345,BLA…
18 0,keypass prefix wrong, -section,,BLANK,,BLANK,, -cert,signer.crt, -key,signer.p12, -keypass,:12345…
[all …]
Dtest_verification.csv4 1,default test, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unp…
6 0,recipient missing arg, -section,, -recipient,,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -…
7 …name, -section,, -recipient,_CA_DN/ABC=123,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
8 …fter value, -section,, -recipient,_CA_DN//,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
9 …e: missing '=', -section,, -recipient,/CDE,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
10 …or test purpose only/O=CMPforOpenSSL/C=DEE,BLANK,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
12 …on,, -recipient,_CA_DN, -expect_sender,_SERVER_DN,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
13 …rg, -section,, -recipient,_CA_DN, -expect_sender,,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
14 …Sample Cert/OU=R&D/O=Company Ltd./L=Dublin 4/C=IE,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
15 …cipient,_CA_DN, -expect_sender,_SERVER_DN/ABC=123,BLANK,, -trusted,trusted.crt,BLANK,,BLANK, -unpr…
[all …]
Dtest_enrollment.csv4 …LANK,,BLANK,, -certout,_RESULT_DIR/test.certout_newkey.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
5 …ANK,,BLANK,, -certout,_RESULT_DIR/test.certout_newkey1.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
6 …ANK,,BLANK,, -certout,_RESULT_DIR/test.certout_newkey2.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
7 …ANK,,BLANK,, -certout,_RESULT_DIR/test.certout_newkey3.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
8 …ANK,,BLANK,, -certout,_RESULT_DIR/test.certout_newkey4.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
10 …,,BLANK,, -certout,_RESULT_DIR/test.certout_newkeypass.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
11 …NK,, -certout,_RESULT_DIR/test.certout_newkeypass_file.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
12 …-certout,_RESULT_DIR/test.certout_newkeypass_no_prefix.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
13 …,BLANK,, -certout,_RESULT_DIR/test.certout_newkeypass1.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
14 …,BLANK,, -certout,_RESULT_DIR/test.certout_newkeypass2.pem,, -out_trusted,root.crt,,BLANK,,BLANK,,,
[all …]
/third_party/node/tools/
Dmk-ca-bundle.pl189 my $crt = $ARGV[0] || dirname(__FILE__) . '/../src/node_root_certs.h';
192 my $stdout = $crt eq '-';
197 open(CRT,">$crt.~") or die "Couldn't open $crt.~: $!\n";
288 $pipe .= " >> $crt.~";
289 close(CRT) or die "Couldn't close $crt.~: $!";
295 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!";
300 $pipe .= " >> $crt.~";
301 close(CRT) or die "Couldn't close $crt.~: $!";
307 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!";
318 close(CRT) or die "Couldn't close $crt.~: $!\n";
[all …]
/third_party/mbedtls/tests/data_files/dir-maxpath/
DReadme.txt4 NN.key is the private key of certificate NN.crt.
6 The root is 00.crt and N+1.crt is a child of N.crt.
8 File cNN.pem contains the chain NN.crt to 00.crt.
Dlong.sh28 -key 00.key -out 00.crt
31 cp 00.crt c00.pem
42 $OPENSSL x509 -req -CA ${UP}.crt -CAkey ${UP}.key -set_serial 1 $OPT \
44 -in ${ME}.csr -out ${ME}.crt
46 cat ${ME}.crt c${UP}.pem > c${ME}.pem
/third_party/mbedtls/programs/fuzz/
Dfuzz_x509crt.c10 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput() local
13 mbedtls_x509_crt_init(&crt); in LLVMFuzzerTestOneInput()
14 ret = mbedtls_x509_crt_parse(&crt, Data, Size); in LLVMFuzzerTestOneInput()
17 ret = mbedtls_x509_crt_info((char *) buf, sizeof(buf) - 1, " ", &crt); in LLVMFuzzerTestOneInput()
23 mbedtls_x509_crt_free(&crt); in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/mbedtls/
Dx509_crt.h247 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt);
399 mbedtls_x509_crt const *crt,
577 const mbedtls_x509_crt *crt);
661 int mbedtls_x509_crt_verify(mbedtls_x509_crt *crt,
702 int mbedtls_x509_crt_verify_with_profile(mbedtls_x509_crt *crt,
736 int mbedtls_x509_crt_verify_restartable(mbedtls_x509_crt *crt,
802 int mbedtls_x509_crt_verify_with_ca_cb(mbedtls_x509_crt *crt,
833 int mbedtls_x509_crt_check_key_usage(const mbedtls_x509_crt *crt,
849 int mbedtls_x509_crt_check_extended_key_usage(const mbedtls_x509_crt *crt,
863 int mbedtls_x509_crt_is_revoked(const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl);
[all …]
/third_party/mbedtls/programs/x509/
Dcert_write.c209 int write_certificate(mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument
221 ret = mbedtls_x509write_crt_der(crt, output_buf, 4096, in write_certificate()
230 ret = mbedtls_x509write_crt_pem(crt, output_buf, 4096, in write_certificate()
308 mbedtls_x509write_cert crt; in main() local
320 mbedtls_x509write_crt_init(&crt); in main()
713 mbedtls_x509write_crt_set_subject_key(&crt, subject_key); in main()
714 mbedtls_x509write_crt_set_issuer_key(&crt, issuer_key); in main()
719 if ((ret = mbedtls_x509write_crt_set_subject_name(&crt, opt.subject_name)) != 0) { in main()
726 if ((ret = mbedtls_x509write_crt_set_issuer_name(&crt, opt.issuer_name)) != 0) { in main()
736 mbedtls_x509write_crt_set_version(&crt, opt.version); in main()
[all …]
Dcert_app.c111 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify() argument
117 mbedtls_x509_crt_info(buf, sizeof(buf) - 1, "", crt); in my_verify()
267 mbedtls_x509_crt crt; in main() local
268 mbedtls_x509_crt *cur = &crt; in main()
269 mbedtls_x509_crt_init(&crt); in main()
277 ret = mbedtls_x509_crt_parse_file(&crt, opt.filename); in main()
281 mbedtls_x509_crt_free(&crt); in main()
289 mbedtls_x509_crt_free(&crt); in main()
304 mbedtls_x509_crt_free(&crt); in main()
319 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags, in main()
[all …]
/third_party/openssl/test/recipes/80-test_cmp_http_data/Mock/
Dserver.cnf4 srv_cert = server.crt
10 srv_trusted = signer_root.crt
12 rsp_cert = signer_only.crt
13 rsp_capubs = signer_root.crt
14 rsp_extracerts = signer_issuing.crt
/third_party/nghttp2/src/testdata/
DMakefile.am24 ipaddr.crt \
25 nosan.crt \
26 nosan_ip.crt \
27 verify_hostname.crt
/third_party/curl/tests/certs/scripts/
Dgenserv.sh109 …Akey $CAPREFIX-ca.key -in $PREFIX-sv.csr -req -text -nameopt multiline $DIGESTALGO > $PREFIX-sv.crt
115 …-caname $CAPREFIX -name $PREFIX -inkey $PREFIX-sv.key -in $PREFIX-sv.crt -certfile $CAPREFIX-ca.crt
119 $OPENSSL x509 -noout -text -hash -in $PREFIX-sv.crt -nameopt multiline
125 $OPENSSL ca -config $CAPREFIX-ca.cnf -revoke $PREFIX-sv.crt
132 $OPENSSL x509 -in $PREFIX-sv.crt -outform der -out $PREFIX-sv.der
136 cat $PREFIX-sv.prm $PREFIX-sv.key $PREFIX-sv.crt $PREFIX-sv.dhp >$PREFIX-sv.pem
/third_party/musl/porting/linux/user/
DMakefile21 SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS))
33 CRT_OBJS = $(filter obj/crt/%,$(ALL_OBJS))
110 obj/crt/rcrt1.o obj/ldso/dlstart.lo obj/ldso/dynlink.lo: $(srcdir)/src/internal/dynlink.h $(srcdir)…
112 obj/crt/crt1.o obj/crt/scrt1.o obj/crt/rcrt1.o obj/ldso/dlstart.lo: $(srcdir)/arch/$(ARCH)/crt_arch…
114 obj/crt/rcrt1.o: $(srcdir)/ldso/dlstart.c
116 obj/crt/Scrt1.o obj/crt/rcrt1.o: CFLAGS_ALL += -fPIC
174 lib/%.o: obj/crt/$(ARCH)/%.o
177 lib/%.o: obj/crt/%.o
/third_party/musl/porting/liteos_a/user_debug/
DMakefile21 SRC_DIRS = $(addprefix $(srcdir)/,src/* src/malloc/$(MALLOC_DIR) crt ldso $(COMPAT_SRC_DIRS))
33 CRT_OBJS = $(filter obj/crt/%,$(ALL_OBJS))
110 obj/crt/rcrt1.o obj/ldso/dlstart.lo obj/ldso/dynlink.lo: $(srcdir)/src/internal/dynlink.h $(srcdir)…
112 obj/crt/crt1.o obj/crt/scrt1.o obj/crt/rcrt1.o obj/ldso/dlstart.lo: $(srcdir)/arch/$(ARCH)/crt_arch…
114 obj/crt/rcrt1.o: $(srcdir)/ldso/dlstart.c
116 obj/crt/Scrt1.o obj/crt/rcrt1.o: CFLAGS_ALL += -fPIC
174 lib/%.o: obj/crt/$(ARCH)/%.o
177 lib/%.o: obj/crt/%.o

123456