openssl_error_string

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Return openSSL error message string openssl_error_string ( void ) openssl_error_string() returns the last error from the openSSL library. Error messages are queued, so this function should be called multiple times to collect all of the information. The last error will be the most recent one. Returns: Returns an error message string, or FALSE if there are no more e

openssl_free_key

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Free key resource void openssl_free_key ( resource $key_identifier ) openssl_free_key() frees the key associated with the specified key_identifier from memory. Parameters: key_identifier openssl_free_key() frees the key associated with the specified key_identifier from memory. Returns: No value is returned.

openssl_get_cert_locations

(PHP 5 >= 5.6.0, PHP 7) Retrieve the available certificate locations array openssl_get_cert_locations ( void ) openssl_get_cert_locations() returns an array with information about the available certificate locations that will be searched for SSL certificates. Returns: Returns an array with the available certificate locations. Examples:

openssl_get_cipher_methods

(PHP 5 >= 5.3.0, PHP 7) Gets available cipher methods array openssl_get_cipher_methods ([ bool $aliases = false ] ) Gets a list of available cipher methods. Parameters: aliases Set to TRUE if cipher aliases should be included within the returned array. Returns: An array of available cipher methods.

openssl_get_md_methods

(PHP 5 >= 5.3.0, PHP 7) Gets available digest methods array openssl_get_md_methods ([ bool $aliases = false ] ) Gets a list of available digest methods. Parameters: aliases Set to TRUE if digest aliases should be included within the returned array. Returns: An array of available digest methods.

openssl_get_privatekey

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Alias of openssl_pkey_get_private() This function is an alias of: openssl_pkey_get_private().

openssl_get_publickey

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Alias of openssl_pkey_get_public() This function is an alias of: openssl_pkey_get_public().

openssl_open

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Open sealed data bool openssl_open ( string $sealed_data, string &$open_data, string $env_key, mixed $priv_key_id [, string $method ] ) openssl_open() opens (decrypts) sealed_data using the private key associated with the key identifier priv_key_id and the envelope key env_key, and fills open_data with the decrypted data. The envelope key is generated when the data are sealed and can onl

openssl_pbkdf2

(PHP 5 >= 5.5.0, PHP 7) Generates a PKCS5 v2 PBKDF2 string, defaults to SHA-1 string openssl_pbkdf2 ( string $password, string $salt, int $key_length, int $iterations [, string $digest_algorithm ] ) Parameters: password salt key_length iterations dig

openssl_pkcs12_export_to_file

(PHP 5 >= 5.2.2, PHP 7) Exports a PKCS#12 Compatible Certificate Store File bool openssl_pkcs12_export_to_file ( mixed $x509, string $filename, mixed $priv_key, string $pass [, array $args ] ) openssl_pkcs12_export_to_file() stores x509 into a file named by filename in a PKCS#12 file format. Parameters: x509 See Key/Certificate parameters for a list of valid values.