PHP 5.6.0 released

openssl_csr_get_public_key

(PHP 5 >= 5.2.0)

openssl_csr_get_public_keyReturns the public key of a CERT

Description

resource openssl_csr_get_public_key ( mixed $csr [, bool $use_shortnames = true ] )
Warning

This function is currently not documented; only its argument list is available.

add a note add a note

User Contributed Notes 1 note

up
1
php at siemenroorda dot nl
4 years ago
Function openssl_pkey_get_details can read this resource. Try:

<?php
  print_r
(openssl_pkey_get_details(openssl_csr_get_public_key($csr)));
?>
To Top