IMP_Smime::encryptMimePart PHP Method

encryptMimePart() public method

Encrypts a MIME part using S/MIME using IMP defaults.
public encryptMimePart ( Horde_Mime_Part $mime_part, Horde_Mail_Rfc822_List $recip ) : Horde_Mime_Part
$mime_part Horde_Mime_Part The object to encrypt.
$recip Horde_Mail_Rfc822_List The recipient address(es).
return Horde_Mime_Part See Horde_Crypt_Smime::encryptMIMEPart().
    public function encryptMimePart($mime_part, Horde_Mail_Rfc822_List $recip)
    {
        return $this->_smime->encryptMIMEPart($mime_part, $this->_encryptParameters($recip));
    }