Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/
H A Dopenssl.c3271 X509 *cert = NULL, *new_cert = NULL; in PHP_FUNCTION() local
3341 new_cert = X509_new(); in PHP_FUNCTION()
3342 if (new_cert == NULL) { in PHP_FUNCTION()
3348 if (!X509_set_version(new_cert, 2)) { in PHP_FUNCTION()
3361 cert = new_cert; in PHP_FUNCTION()
3367 X509_gmtime_adj(X509_getm_notBefore(new_cert), 0); in PHP_FUNCTION()
3369 i = X509_set_pubkey(new_cert, key); in PHP_FUNCTION()
3377 X509V3_set_ctx(&ctx, cert, new_cert, csr, NULL, 0); in PHP_FUNCTION()
3386 if (!X509_sign(new_cert, priv_key, req.digest)) { in PHP_FUNCTION()
3394 cert_object->x509 = new_cert; in PHP_FUNCTION()
[all …]

Completed in 26 milliseconds