-
Delphi通过https接口post数据
应用背景向web认证服务器通过https接口post认证数据,delphi2005正常使用。最初的的时候采用indy控件,IdHTTP和IdSSLIOHandlerSocketOpenSSL配合,但是没有成功,对方服务器连接后立即断开链接,不返回任何数据,后来通过网上查询,找到了这个方法,可以根据服务器的要求自定义头文件和post的内容。引用了WinINet,IDURI单元,其中CnMD5,CnBase64是认证业务需要加入的cnpack中的单元,和https链接无关。这种方法的另外一个好处是不用再调用indy引用的两个dll文件(libeay32.dll,ssleay32.dll),这两个文件和indy的版本还需要配套,比较麻烦,而且就是匹配了我也没有测试成功,可能和对方服务器的环境有关系,感觉还是后来的这种方式兼容性比较好关键技术主要是delphi下的开发,研究了很久,没有找到SSL双向认证的,这个终于让我找到了,可以双向认证,实现微信退款功能等等。。。。。。。。。。。。。。
- 2022-03-20 05:38:43下载
- 积分:1
-
时间掌握C++的基本语法和简单的程序开发实例发…
通过时间掌握C++ 基本语法与简单的程序开发实例,方便入门新手提高-Time to master C++ basic grammar and simple example of program development to facilitate new entry to improve
- 2022-11-30 04:30:04下载
- 积分:1
-
发送电子邮件例子
发送电子邮件例子-E-mail examples
- 2022-08-15 10:56:13下载
- 积分:1
-
sdkautooff_prog
sdkautooff_prog
- 2022-07-27 06:20:42下载
- 积分:1
-
数据库SQL SEVER编程开发,ADO.NET开发平台的数据度库配置及开发。...
数据库SQL SEVER编程开发,ADO.NET开发平台的数据度库配置及开发。-SQL SEVER
- 2022-10-07 21:25:03下载
- 积分:1
-
As you develop your skills in C++, it becomes increasingly important to separate...
As you develop your skills in C++, it becomes increasingly important to separate essential information from hype and glitz, and to find the in-depth content you need in order to grow. The C++ In-Depth Series provides the tools, concepts, techniques, and new approaches to C++ that will give you a critical edge.-As you develop your skills in C++, it becomes increasingly important to separate essential information from hype and glitz, and to find the in-depth content you need in order to grow. The C++ In-Depth Series provides the tools, concepts, techniques, and new approaches to C++ that will give you a critical edge.
- 2023-01-09 23:05:04下载
- 积分:1
-
图像半透明合成演示
图像半透明合成演示-translucent image synthesis demonstration
- 2022-08-23 20:47:54下载
- 积分:1
-
create a dynamic buttons for beginners
一个动态创建按扭,给初学者使用-create a dynamic buttons for beginners
- 2022-03-20 22:51:06下载
- 积分:1
-
对象
面向对象课程作业
使用vc基于模板编写 ――全模板UniSparPoly_2-object-oriented operations using vc courses based on template preparation-- all template UniSparPoly_2
- 2022-04-01 12:52:59下载
- 积分:1
-
使用 c + + 的复杂计算器
我用一个对话框来显示复杂计算。用户可以再加上两句话来实现如何计算复杂的方程。我的代码在 Visual Studio.Net 2010年中的源代码。在程序文件中的显示更多详细信息和内容。
- 2023-02-01 05:00:06下载
- 积分:1