/PHP-8.0/ext/openssl/tests/ |
H A D | openssl_csr_sign_basic.phpt | 31 $csr = openssl_csr_new($dn, $privkey, $args); 33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args)); 34 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg)); 35 var_dump(openssl_csr_sign($csr, $cert, $priv, 365, $config_arg)); 36 var_dump(openssl_csr_sign($csr, openssl_x509_read($cert), $priv, 365, $config_arg)); 37 var_dump(openssl_csr_sign($csr, $wrong, $privkey, 365)); 38 var_dump(openssl_csr_sign($csr, null, $wrong, 365)); 48 var_dump(openssl_csr_sign($csr, array(), $privkey, 365)); 54 var_dump(openssl_csr_sign($csr, null, array(), 365)); 58 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg)); [all …]
|
H A D | openssl_csr_export_basic.phpt | 28 $csr = openssl_csr_new($dn, $privkey, $args); 29 var_dump(openssl_csr_export($csr, $output)); 40 var_dump(openssl_csr_export($csr, $output, false)); 47 openssl_csr_export(): Argument #1 ($csr) must be of type OpenSSLCertificateSigningRequest|string, O…
|
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 | 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)); 47 var_dump(openssl_csr_export_to_file($csr, $csrfile, false)); 80 openssl_csr_export_to_file(): Argument #1 ($csr) must be of type OpenSSLCertificateSigningRequest|s…
|
H A D | bug50293.phpt | 33 $csr = openssl_csr_new($dn, $privkey, $args); 34 $sscert = openssl_csr_sign($csr, null, $privkey, 365, $args); 35 openssl_csr_export($csr, $csrout);;
|
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 | bug47828.phpt | 7 $csr = "-----BEGIN CERTIFICATE----- 33 $cert = str_replace("\\n", "\n", $csr);
|
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
|
H A D | bug81713.phpt | 13 $csr = __DIR__ . '/cert.csr'; 16 $csr_file = "file://$csr"; 159 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes 160 openssl_csr_get_public_key(): Argument #1 ($csr) must not contain any null bytes
|
/PHP-8.0/ext/openssl/ |
H A D | openssl.stub.php | 51 function openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_fi… argument 54 function openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text =… argument 57 function openssl_csr_sign(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|n… argument 62 function openssl_csr_get_subject(OpenSSLCertificateSigningRequest|string $csr, bool $short_names = … argument 64 function openssl_csr_get_public_key(OpenSSLCertificateSigningRequest|string $csr, bool $short_names… argument
|
H A D | openssl.c | 167 X509_REQ *csr; member 3139 return csr; in php_openssl_csr_from_str() 3157 X509_REQ *csr; in PHP_FUNCTION() local 3211 X509_REQ *csr; in PHP_FUNCTION() local 3261 X509_REQ *csr; in PHP_FUNCTION() local 3447 if (csr) { in PHP_FUNCTION() 3466 x509_request_obj->csr = csr; in PHP_FUNCTION() 3467 csr = NULL; in PHP_FUNCTION() 3492 if (csr) { in PHP_FUNCTION() 3502 X509_REQ *csr; in PHP_FUNCTION() local [all …]
|
H A D | openssl_arginfo.h | 75 ZEND_ARG_OBJ_TYPE_MASK(0, csr, OpenSSLCertificateSigningRequest, MAY_BE_STRING, NULL) 81 ZEND_ARG_OBJ_TYPE_MASK(0, csr, OpenSSLCertificateSigningRequest, MAY_BE_STRING, NULL) 87 ZEND_ARG_OBJ_TYPE_MASK(0, csr, OpenSSLCertificateSigningRequest, MAY_BE_STRING, NULL) 103 ZEND_ARG_OBJ_TYPE_MASK(0, csr, OpenSSLCertificateSigningRequest, MAY_BE_STRING, NULL) 108 ZEND_ARG_OBJ_TYPE_MASK(0, csr, OpenSSLCertificateSigningRequest, MAY_BE_STRING, NULL)
|