web_modules/forge.bundle.js
function(cert) {
      // convert from PEM
      if(typeof cert === 'string') {
        cert = forge.pki.certificateFromPem(cert);
      }
      msg.certificates.push(cert);
    }
function(cert) {
      // convert from PEM
      if(typeof cert === 'string') {
        cert = forge.pki.certificateFromPem(cert);
      }
      msg.certificates.push(cert);
    }
function ( cert ) { // convert from PEM
 if ( typeof cert === 'string' ) { cert = forge . pki . certificateFromPem ( cert ) ; } msg . certificates . push ( cert ) ; }
Add a certificate.

@param cert the certificate to add.
Add a certificate .