code: function(cert) {
        // convert from PEM
        if(typeof cert === 'string') {
          cert = forge.pki.certificateFromPem(cert);
        }
        msg.certificates.push(cert);
      }
docs: Add a certificate.
  
  @param cert the certificate to add.