Frees a private key

openssl_pkey_export
openssl_pkey_get_details
OpenSSL Functions
PHP Manual

# openssl_pkey_free

(PHP 4 >= 4.2.0, PHP 5)

openssl_pkey_free — Frees a private key

### Description

void openssl_pkey_free ( resource `$key` )

This function frees a private key created by openssl_pkey_new().

### Parameters

`key`

  Resource holding the key.

### Return Values

No value is returned.

openssl_pkey_export
openssl_pkey_get_details
OpenSSL Functions
PHP Manual