IPWorks S/MIME 2020 PHP Edition

Questions / Feedback?

AddRecipientCert Method

Used to add recipient certificates used to encrypt messages.

Object Oriented Interface

public function doAddRecipientCert($certencoded);

Procedural Interface

ipworkssmime_ssmtp_do_addrecipientcert($res, $certencoded);


This method is used to add recipient certificates to the internal MessageRecipients properties used to encrypt the Message. The recipient certificate must be a valid PKCS encoded certificate. If the certificate provided is Base64 encoded it will be decoded first by the object.

The CertMgr class may be used to retrieve the appropriate certificate from the system.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 PHP Edition - Version 20.0 [Build 7721]