OPENSSL_PKCS12_EXPORT(3) 1 OPENSSL_PKCS12_EXPORT(3)
openssl_pkcs12_export - Exports a PKCS#12 Compatible Certificate Store File to variable.
SYNOPSIS
bool openssl_pkcs12_export (mixed $x509, string &$out, mixed $priv_key, string $pass, [array $args])
DESCRIPTION
openssl_pkcs12_export(3) stores $x509 into a string named by $out in a PKCS#12 file format.
PARAMETERS
o $x509
- See Key/Certificate parameters for a list of valid values.
o $out
- On success, this will hold the PKCS#12.
o $priv_key
- Private key component of PKCS#12 file.
o $pass
- Encryption password for unlocking the PKCS#12 file.
o $args
-
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group OPENSSL_PKCS12_EXPORT(3)