break;
case PSMContentDownloader::X509_EMAIL_CERT: return certdb->ImportEmailCertificate(mByteData, mBufferOffset, ctx);
PSMContentDownloader::OnStopRequest(nsIRequest* request,                              nsISupports* context,                              nsresult aStatus){  PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("CertDownloader::OnStopRequest\n"));  /* this will init NSS if it hasn't happened already */  nsCOMPtr<nsIX509CertDB> certdb = do_GetService(NS_X509CERTDB_CONTRACTID);  nsresult rv;  nsCOMPtr<nsIInterfaceRequestor> ctx = new PSMContentDownloaderContext();  switch (mType) {  case PSMContentDownloader::X509_CA_CERT:    return certdb->ImportCertificates(mByteData, mBufferOffset, mType, ctx);   case PSMContentDownloader::X509_USER_CERT:    return certdb->ImportUserCertificate(mByteData, mBufferOffset, ctx);    break;  case PSMContentDownloader::PKCS7_CRL:    return certdb->ImportCrl(mByteData, mBufferOffset, mURI, SEC_CRL_TYPE);  default:    rv = NS_ERROR_FAILURE;    break;  }    return rv;}