Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/utils/windows/x509.py   cloudbase-init(Download)
 
            if machine_keyset:
                flags = cryptoapi.CERT_SYSTEM_STORE_LOCAL_MACHINE
            else:
                flags = cryptoapi.CERT_SYSTEM_STORE_CURRENT_USER
 
            if machine_keyset:
                flags = cryptoapi.CERT_SYSTEM_STORE_LOCAL_MACHINE
            else:
                flags = cryptoapi.CERT_SYSTEM_STORE_CURRENT_USER

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/utils/windows/test_x509.py   cloudbase-init(Download)
            mock_CertOpenStore.assert_called_with(
                cryptoapi.CERT_STORE_PROV_SYSTEM, 0, 0,
                cryptoapi.CERT_SYSTEM_STORE_LOCAL_MACHINE,
                unicode(x509.STORE_NAME_MY))
            mock_get_cert_thumprint.assert_called_once_with(
            mock_CertOpenStore.assert_called_with(
                cryptoapi.CERT_STORE_PROV_SYSTEM, 0, 0,
                cryptoapi.CERT_SYSTEM_STORE_LOCAL_MACHINE,
                unicode(x509.STORE_NAME_MY))
            mock_CertAddEncodedCertificateToStore.assert_called_with(