Searched refs:csr (Results 1 – 12 of 12) sorted by relevance
/PHP-7.4/ext/openssl/tests/ |
H A D | openssl_csr_sign_basic.phpt | 31 $csr = openssl_csr_new($dn, $privkey, $args); 32 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args)); 33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg)); 34 var_dump(openssl_csr_sign($csr, $cert, $priv, 365, $config_arg)); 36 var_dump(openssl_csr_sign($csr, $wrong, $privkey, 365)); 37 var_dump(openssl_csr_sign($csr, null, $wrong, 365)); 38 var_dump(openssl_csr_sign($csr, null, $privkey, $wrong)); 39 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $wrong)); 42 var_dump(openssl_csr_sign($csr, array(), $privkey, 365)); 43 var_dump(openssl_csr_sign($csr, null, array(), 365)); [all …]
|
H A D | bug36732.phpt | 24 $csr = openssl_csr_new($dn, $key, $configargs); 25 $crt = openssl_csr_sign($csr, NULL, $key, 365, $configargs); 28 openssl_csr_export($csr, $str, false);
|
H A D | openssl_csr_get_public_key_basic.phpt | 36 $csr = openssl_csr_new($dn, $privkey_file, $args); 37 $csr_file = file_get_contents(__DIR__ . '/cert.csr'); 39 var_dump(openssl_csr_get_public_key($csr));
|
H A D | ecc.phpt | 48 $csr = openssl_csr_new($dn, $keyGenerate, $args); 54 $csr = openssl_csr_new($dn, $key1, $args); 55 var_dump($csr); 57 $pubkey1 = openssl_pkey_get_details(openssl_csr_get_public_key($csr)); 62 $x509 = openssl_csr_sign($csr, null, $key1, 365, $args);
|
H A D | openssl_csr_get_subject_basic.phpt | 36 $csr = openssl_csr_new($dn, $privkey_file, $args); 37 $csr_file = file_get_contents(__DIR__ . '/cert.csr'); 40 var_dump(openssl_csr_get_subject($csr, false));
|
H A D | bug52093.phpt | 19 $csr = openssl_csr_new($dn, $privkey); 20 $cert = openssl_csr_sign($csr, null, $privkey, 365, [], PHP_INT_MAX);
|
H A D | openssl_csr_export_bacis.phpt | 28 $csr = openssl_csr_new($dn, $privkey, $args); 29 var_dump(openssl_csr_export($csr, $output)); 33 var_dump(openssl_csr_export($csr, $output, false));
|
H A D | bug47828.phpt | 7 $csr = "-----BEGIN CERTIFICATE----- 33 $cert = str_replace("\\n", "\n", $csr);
|
H A D | openssl_csr_export_to_file_basic.phpt | 36 $csr = openssl_csr_new($dn, $privkey_file, $args); 37 var_dump(openssl_csr_export_to_file($csr, $csrfile)); 42 var_dump(openssl_csr_export_to_file($csr, $csrfile, false));
|
H A D | bug55646.phpt | 42 openssl_csr_export($csr_res, $csr); 43 $output = openssl_csr_get_subject($csr);
|
H A D | openssl_error_string_basic.phpt | 59 // csr file 60 $csr_file = "file://" . __DIR__ . "/cert.csr"; 141 // file for csr (file:///) fails when opennig (BIO_new_file) 144 // file or str csr is not correct PEM - failing PEM_read_bio_X509_REQ
|
/PHP-7.4/ext/openssl/ |
H A D | openssl.c | 205 ZEND_ARG_INFO(0, csr) 806 X509_REQ_free(csr); in php_openssl_csr_free() 3348 return csr; in php_openssl_csr_from_zval() 3356 X509_REQ * csr; in PHP_FUNCTION() local 3406 X509_REQ * csr; in PHP_FUNCTION() local 3457 X509_REQ * csr; in PHP_FUNCTION() local 3632 if (csr) { in PHP_FUNCTION() 3650 csr = NULL; in PHP_FUNCTION() 3677 if (csr) { in PHP_FUNCTION() 3692 X509_REQ * csr; in PHP_FUNCTION() local [all …]
|
Completed in 26 milliseconds