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)
            upn_len = cryptoapi.CertGetNameString(
                cert_context_p,
                cryptoapi.CERT_NAME_UPN_TYPE, 0,
                None, None, 0)
            if upn_len > 1:
                upn_ar = ctypes.create_unicode_buffer(upn_len)
                if cryptoapi.CertGetNameString(
                        cert_context_p,
                        cryptoapi.CERT_NAME_UPN_TYPE,

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/utils/windows/test_x509.py   cloudbase-init(Download)
                              cryptoapi.CRYPT_STRING_BASE64, mock_cast(),
                              mock_byref(), None, None)]
        expected2 = [mock.call(mock_POINTER()(), cryptoapi.CERT_NAME_UPN_TYPE,
                               0, None, None, 0),
                     mock.call(mock_POINTER()(), cryptoapi.CERT_NAME_UPN_TYPE,