PHP code example of bonza / ssl

1. Go to this page and download the library: Download bonza/ssl library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bonza / ssl example snippets


composer 


$config = [
    'digest_alg'       => 'sha512',
    'private_key_bits' => 4096,
    'private_key_type' => OPENSSL_KEYTYPE_RSA,
];

$ssl = new OpenSsl($config);



==暂时没有测试覆盖==