我在 Adobe Air 应用程序中遇到了一些关于 SSL(HTTPS 调用)的问题。Adobe 的列表中有一个错误,它与我遇到的完全相同的问题:- https://forums.adobe.com/thread/1116924
推荐的解决方案(除非 Adobe 修复了这个问题——他们已经 2 年多没有这样做了)是使用 as3crypto 的 SSL。
这里的任何人都可以帮助我吗?现在,我的 HTTPService 使用 Adobe 的 SSL 功能中的默认内置功能,如下所示:-
var params:Object = getPOSTParameters();
var _httpservice:HttpService = new HTTPService();
_httpservice.url = "https://myserver_url";
_httpservice.resultFormat = "text";
_httpservice.contentType="application/x-www-form-urlencoded";
_httpservice.method = "POST";
_httpservice.concurrency = "multiple";
_httpservice.requestTimeout=600000;
_httpservice.showBusyCursor = false;
_httpservice.addEventListener(IOErrorEvent.IO_ERROR, httpIOError);
_httpservice.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatus);
var responder:Responder = new Responder(onResult, onError);
var token:AsyncToken = _httpservice.send(params);
token.addResponder(responder);
我应该如何使用 as3crypto 实现相同的功能?任何示例/代码指针都会非常有帮助