/third_party/mbedtls/tests/data_files/ |
D | Readme-x509.txt | 7 - 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 …]
|
D | Makefile | 39 test_ca_crt = test-ca.crt 48 test-ca.crt: $(test_ca_key_file_rsa) test-ca.req.sha256 50 all_final += test-ca.crt 52 test-ca.crt.der: test-ca.crt 54 all_final += test-ca.crt.der 60 test-ca-sha1.crt: $(test_ca_key_file_rsa) test-ca.req.sha256 62 all_final += test-ca-sha1.crt 64 test-ca-sha1.crt.der: test-ca-sha1.crt 66 all_final += test-ca-sha1.crt.der 68 test-ca-sha256.crt: $(test_ca_key_file_rsa) test-ca.req.sha256 [all …]
|
/third_party/mbedtls/tests/data_files/dir4/ |
D | Readme | 5 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/openssl/test/ |
D | v3nametest.c | 85 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/library/ |
D | x509_crt.c | 89 mbedtls_x509_crt *crt; member 391 ver_chain->items[i].crt = NULL; in x509_crt_verify_chain_reset() 905 mbedtls_x509_crt *crt, in x509_get_crt_ext() argument 916 if( ( ret = mbedtls_x509_get_ext( p, end, &crt->v3_ext, 3 ) ) != 0 ) in x509_get_crt_ext() 919 end = crt->v3_ext.p + crt->v3_ext.len; in x509_get_crt_ext() 974 ret = cb( p_ctx, crt, &extn_oid, is_critical, *p, end_ext_octet ); in x509_get_crt_ext() 994 if( ( crt->ext_types & ext_type ) != 0 ) in x509_get_crt_ext() 997 crt->ext_types |= ext_type; in x509_get_crt_ext() 1004 &crt->ca_istrue, &crt->max_pathlen ) ) != 0 ) in x509_get_crt_ext() 1011 &crt->key_usage ) ) != 0 ) in x509_get_crt_ext() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509parse.function | 61 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 64 ((void) crt); 71 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 74 ((void) crt); 146 int verify_fatal( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 150 ((void) crt); 205 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags ) 216 ret = mbedtls_x509_serial_gets( p, n, &crt->serial ); 222 ret = mbedtls_x509_dn_gets( p, n, &crt->subject ); 306 int parse_crt_ext_cb( void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid, [all …]
|
D | test_suite_x509parse.data | 3 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 …]
|
D | test_suite_x509write.function | 210 mbedtls_x509write_cert crt; 227 mbedtls_x509write_crt_init( &crt ); 254 mbedtls_x509write_crt_set_version( &crt, ver ); 256 TEST_ASSERT( mbedtls_x509write_crt_set_serial( &crt, &serial ) == 0 ); 257 TEST_ASSERT( mbedtls_x509write_crt_set_validity( &crt, not_before, 259 mbedtls_x509write_crt_set_md_alg( &crt, md_type ); 260 TEST_ASSERT( mbedtls_x509write_crt_set_issuer_name( &crt, issuer_name ) == 0 ); 261 TEST_ASSERT( mbedtls_x509write_crt_set_subject_name( &crt, subject_name ) == 0 ); 262 mbedtls_x509write_crt_set_subject_key( &crt, &subject_key ); 264 mbedtls_x509write_crt_set_issuer_key( &crt, key ); [all …]
|
D | test_suite_x509write.data | 55 …CA":"1":"20190210144406":"20290210144406":MBEDTLS_MD_SHA1:0:0:0:0:1:-1:"data_files/server1.crt":0:0 59 …ON_REPUDIATION | MBEDTLS_X509_KU_KEY_ENCIPHERMENT:1:0:0:1:-1:"data_files/server1.key_usage.crt":0:0 63 …DTLS_MD_SHA1:0:0:MBEDTLS_X509_NS_CERT_TYPE_SSL_SERVER:1:1:-1:"data_files/server1.cert_type.crt":0:0 67 …0290210144406":MBEDTLS_MD_SHA1:0:0:0:0:1:MBEDTLS_X509_CRT_VERSION_1:"data_files/server1.v1.crt":0:0 71 …:"1":"20190210144406":"20290210144406":MBEDTLS_MD_SHA1:0:0:0:0:1:-1:"data_files/server1.ca.crt":0:1 75 …20190210144406":"20290210144406":MBEDTLS_MD_SHA1:0:0:0:0:0:-1:"data_files/server1.noauthid.crt":1:0 79 …ATION | MBEDTLS_X509_KU_KEY_ENCIPHERMENT:1:0:0:0:-1:"data_files/server1.key_usage_noauthid.crt":1:0 83 …HA1:0:0:MBEDTLS_X509_NS_CERT_TYPE_SSL_SERVER:1:0:-1:"data_files/server1.cert_type_noauthid.crt":1:0 87 …0290210144406":MBEDTLS_MD_SHA1:0:0:0:0:0:MBEDTLS_X509_CRT_VERSION_1:"data_files/server1.v1.crt":1:0 91 …90210144406":"20290210144406":MBEDTLS_MD_SHA1:0:0:0:0:0:-1:"data_files/server1.ca_noauthid.crt":1:1
|
/third_party/openssl/test/recipes/80-test_cmp_http_data/ |
D | test_credentials.csv | 3 …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 …]
|
D | test_verification.csv | 4 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 …]
|
D | test_enrollment.csv | 4 …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/ |
D | mk-ca-bundle.pl | 189 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"; 286 $pipe .= " >> $crt.~"; 287 close(CRT) or die "Couldn't close $crt.~: $!"; 293 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!"; 298 $pipe .= " >> $crt.~"; 299 close(CRT) or die "Couldn't close $crt.~: $!"; 305 open(CRT, ">>$crt.~") or die "Couldn't open $crt.~: $!"; 316 close(CRT) or die "Couldn't close $crt.~: $!\n"; [all …]
|
/third_party/mbedtls/tests/data_files/dir-maxpath/ |
D | Readme.txt | 4 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.
|
D | long.sh | 28 -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/x509/ |
D | cert_write.c | 182 int write_certificate( mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument 192 if( ( ret = mbedtls_x509write_crt_pem( crt, output_buf, 4096, in write_certificate() 228 mbedtls_x509write_cert crt; in main() local 237 mbedtls_x509write_crt_init( &crt ); in main() 622 mbedtls_x509write_crt_set_subject_key( &crt, subject_key ); in main() 623 mbedtls_x509write_crt_set_issuer_key( &crt, issuer_key ); in main() 628 if( ( ret = mbedtls_x509write_crt_set_subject_name( &crt, opt.subject_name ) ) != 0 ) in main() 636 if( ( ret = mbedtls_x509write_crt_set_issuer_name( &crt, opt.issuer_name ) ) != 0 ) in main() 647 mbedtls_x509write_crt_set_version( &crt, opt.version ); in main() 648 mbedtls_x509write_crt_set_md_alg( &crt, opt.md ); in main() [all …]
|
D | cert_app.c | 124 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() argument 130 mbedtls_x509_crt_info( buf, sizeof( buf ) - 1, "", crt ); in my_verify() 289 mbedtls_x509_crt crt; in main() local 290 mbedtls_x509_crt *cur = &crt; in main() 291 mbedtls_x509_crt_init( &crt ); in main() 299 ret = mbedtls_x509_crt_parse_file( &crt, opt.filename ); in main() 304 mbedtls_x509_crt_free( &crt ); in main() 311 mbedtls_x509_crt_free( &crt ); in main() 328 mbedtls_x509_crt_free( &crt ); in main() 344 if( ( ret = mbedtls_x509_crt_verify( &crt, &cacert, &cacrl, NULL, &flags, in main() [all …]
|
/third_party/mbedtls/include/mbedtls/ |
D | x509_crt.h | 300 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt); 450 mbedtls_x509_crt const *crt, 642 const mbedtls_x509_crt *crt ); 726 int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt, 767 int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt, 801 int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt, 867 int mbedtls_x509_crt_verify_with_ca_cb( mbedtls_x509_crt *crt, 898 int mbedtls_x509_crt_check_key_usage( const mbedtls_x509_crt *crt, 914 int mbedtls_x509_crt_check_extended_key_usage( const mbedtls_x509_crt *crt, 928 int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl ); [all …]
|
D | debug.h | 59 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) \ argument 60 mbedtls_debug_print_crt( ssl, level, __FILE__, __LINE__, text, crt ) 62 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) do { } while( 0 ) argument 78 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) do { } while( 0 ) argument 274 const char *text, const mbedtls_x509_crt *crt );
|
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_x509crt.c | 9 mbedtls_x509_crt crt; in LLVMFuzzerTestOneInput() local 12 mbedtls_x509_crt_init( &crt ); in LLVMFuzzerTestOneInput() 13 ret = mbedtls_x509_crt_parse( &crt, Data, Size ); in LLVMFuzzerTestOneInput() 16 ret = mbedtls_x509_crt_info( (char *) buf, sizeof( buf ) - 1, " ", &crt ); in LLVMFuzzerTestOneInput() 22 mbedtls_x509_crt_free( &crt ); in LLVMFuzzerTestOneInput()
|
/third_party/openssl/test/recipes/80-test_cmp_http_data/Mock/ |
D | server.cnf | 4 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
|
D | test.cnf | 4 trusted = trusted.crt 8 out_trusted = root.crt 23 server_cert = server.crt 33 out_trusted = signer_root.crt 38 cert = signer.crt
|
/third_party/musl/ |
D | Makefile | 21 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/ |
D | Makefile | 21 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/linux/user/ |
D | Makefile | 21 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
|