Home
last modified time | relevance | path

Searched refs:csr (Results 1 – 18 of 18) sorted by relevance

/PHP-8.1/ext/openssl/tests/
H A Dopenssl_csr_sign_basic.phpt35 $csr = openssl_csr_new($dn, $privkey, $args);
37 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args));
38 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
39 var_dump(openssl_csr_sign($csr, $cert, $priv, 365, $config_arg));
40 var_dump(openssl_csr_sign($csr, openssl_x509_read($cert), $priv, 365, $config_arg));
41 var_dump(openssl_csr_sign($csr, $wrong, $privkey, 365));
42 var_dump(openssl_csr_sign($csr, null, $wrong, 365));
52 var_dump(openssl_csr_sign($csr, array(), $privkey, 365));
58 var_dump(openssl_csr_sign($csr, null, array(), 365));
62 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
[all …]
H A Dopenssl_csr_export_basic.phpt32 $csr = openssl_csr_new($dn, $privkey, $args);
33 var_dump(openssl_csr_export($csr, $output));
44 var_dump(openssl_csr_export($csr, $output, false));
51 openssl_csr_export(): Argument #1 ($csr) must be of type OpenSSLCertificateSigningRequest|string, O…
H A Dbug36732.phpt22 $csr = openssl_csr_new($dn, $key, $configargs);
23 $crt = openssl_csr_sign($csr, NULL, $key, 365, $configargs);
26 openssl_csr_export($csr, $str, false);
H A Dopenssl_csr_get_public_key_basic.phpt38 $csr = openssl_csr_new($dn, $privkey_file, $args);
39 $csr_file = file_get_contents(__DIR__ . '/cert.csr');
41 var_dump(openssl_csr_get_public_key($csr));
H A Dopenssl_csr_export_to_file_basic.phpt40 $csr = openssl_csr_new($dn, $privkey_file, $args);
41 var_dump(openssl_csr_export_to_file($csr, $csrfile));
51 var_dump(openssl_csr_export_to_file($csr, $csrfile, false));
84 openssl_csr_export_to_file(): Argument #1 ($csr) must be of type OpenSSLCertificateSigningRequest|s…
H A Dbug50293.phpt33 $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 Dopenssl_csr_get_subject_basic.phpt38 $csr = openssl_csr_new($dn, $privkey_file, $args);
39 $csr_file = file_get_contents(__DIR__ . '/cert.csr');
42 var_dump(openssl_csr_get_subject($csr, false));
H A Decc.phpt65 $csr = openssl_csr_new($dn, $keyGenerate, $args);
71 $csr = openssl_csr_new($dn, $key1, $args);
72 var_dump($csr);
74 $pubkey1 = openssl_pkey_get_details(openssl_csr_get_public_key($csr));
79 $x509 = openssl_csr_sign($csr, null, $key1, 365, $args);
H A Dbug52093.phpt20 $csr = openssl_csr_new($dn, $privkey, $options);
21 $cert = openssl_csr_sign($csr, null, $privkey, 365, $options, PHP_INT_MAX);
H A Dbug47828.phpt7 $csr = "-----BEGIN CERTIFICATE-----
33 $cert = str_replace("\\n", "\n", $csr);
H A Dbug55646.phpt42 openssl_csr_export($csr_res, $csr);
43 $output = openssl_csr_get_subject($csr);
H A Dopenssl_error_string_basic.phpt63 // csr file
64 $csr_file = "file://" . __DIR__ . "/cert.csr";
145 // file for csr (file:///) fails when opennig (BIO_new_file)
148 // file or str csr is not correct PEM - failing PEM_read_bio_X509_REQ
H A Dopenssl_error_string_basic_openssl3.phpt63 // csr file
64 $csr_file = "file://" . __DIR__ . "/cert.csr";
148 // file for csr (file:///) fails when opennig (BIO_new_file)
151 // file or str csr is not correct PEM - failing PEM_read_bio_X509_REQ
H A DCertificateGenerator.inc130 $csr = openssl_csr_new($dn, $this->lastKey, $config);
132 $csr,
H A Dbug81713.phpt15 $csr = __DIR__ . '/cert.csr';
18 $csr_file = "file://$csr";
161 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes
162 openssl_csr_get_public_key(): Argument #1 ($csr) must not contain any null bytes
/PHP-8.1/ext/openssl/
H A Dopenssl.stub.php67 function openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_fi… argument
70 function openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text =… argument
73 function openssl_csr_sign(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|n… argument
82 function openssl_csr_get_subject(OpenSSLCertificateSigningRequest|string $csr, bool $short_names = … argument
84 function openssl_csr_get_public_key(OpenSSLCertificateSigningRequest|string $csr, bool $short_names… argument
H A Dopenssl.c171 X509_REQ *csr; member
3132 if (csr == NULL) { in php_openssl_csr_from_str()
3138 return csr; in php_openssl_csr_from_str()
3156 X509_REQ *csr; in PHP_FUNCTION() local
3210 X509_REQ *csr; in PHP_FUNCTION() local
3260 X509_REQ *csr; in PHP_FUNCTION() local
3446 if (csr) { in PHP_FUNCTION()
3465 x509_request_obj->csr = csr; in PHP_FUNCTION()
3466 csr = NULL; in PHP_FUNCTION()
3488 if (csr) { in PHP_FUNCTION()
[all …]
H A Dopenssl_arginfo.h75 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)

Completed in 37 milliseconds