Attempts to encrypt the entity
MIME part to the public keys of recipients
using S/MIME.
If successful, a new application/pkcs7-mime object is returned.
entity |
a Object to encrypt |
flags | |
recipients |
an array of recipients to encrypt to |
a new ApplicationPkcs7Mime object on success or
null on fail. If encrypting fails, an exception will be set on |