Function apn_set_private_key
Sets a path to a private key which will be used to establish secure connection
Parameters summary
resource |
$apn |
Apple Push Notification Resource returned by apn_init(). If a non-resource is used for the apn, an error of level E_WARNING will be emitted |
string |
$private_key |
Path to a private key file |
string|null |
$private_key_pass = null |
Private key passphrase or null |
Return value summary
boolean |
Returns TRUE on success or FALSE on failure |