Lines Matching defs:pszTrustedCert
525 const char *pszTrustedCert = NULL;
552 if (pszTrustedCert)
556 pszTrustedCert = ValueUnion.psz;
563 if (!pszTrustedCert)
572 if (!removeCertFromStoreByFile(CERT_SYSTEM_STORE_LOCAL_MACHINE, "TrustedPublisher", pszTrustedCert))
578 RTMsgInfo("Successfully removed '%s' as root and '%s' as trusted publisher", pszRootCert, pszTrustedCert);
580 RTMsgInfo("Successfully removed '%s' as trusted publisher", pszTrustedCert);
600 const char *pszTrustedCert = NULL;
627 if (pszTrustedCert)
630 pszTrustedCert);
631 pszTrustedCert = ValueUnion.psz;
638 if (!pszTrustedCert)
649 if (!addCertToStore(CERT_SYSTEM_STORE_LOCAL_MACHINE, "TrustedPublisher", pszTrustedCert, CERT_STORE_ADD_NEW))
655 RTMsgInfo("Successfully added '%s' as root and '%s' as trusted publisher", pszRootCert, pszTrustedCert);
657 RTMsgInfo("Successfully added '%s' as trusted publisher", pszTrustedCert);