IMP_Smime::_encryptParameters PHP Method

_encryptParameters() protected method

Returns the params needed to encrypt a message being sent to the specified email address(es).
protected _encryptParameters ( Horde_Mail_Rfc822_List $addr ) : array
$addr Horde_Mail_Rfc822_List The recipient addresses.
return array The list of parameters needed by encrypt().
    protected function _encryptParameters(Horde_Mail_Rfc822_List $addr)
    {
        return array('pubkey' => array_map(array($this, 'getPublicKey'), $addr->bare_addresses), 'type' => 'message');
    }