AddRecipientCert Method
Used to add recipient certificates used to encrypt messages.
Object Oriented Interface
public function doAddRecipientCert($certencoded);
Procedural Interface
ipworksencrypt_smime_do_addrecipientcert($res, $certencoded);
Remarks
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.