code: function(cert) {
        msg.recipients.push({
          version: 0,
          issuer: cert.subject.attributes,
          serialNumber: cert.serialNumber,
          encryptedContent: {
            // We simply assume rsaEncryption here, since forge.pki only
            // supports RSA so far.  If the PKI module supports other
            // ciphers one day, we need to modify this one as well.
            algorithm: forge.pki.oids.rsaEncryption,
            key: cert.publicKey
          }
        });
      }
docs: Add (another) entity to list of recipients.
  
  @param cert The certificate of the entity to add.