xmpp tls 响应格式
在收到质询后,我似乎无法找到 TLS 响应中应包含什么格式。我在哪里可以找到该信息?
假设我是用 PHP 做的,它应该是这样的:
$nonce = "somenoncevaluehere";
$qop = "auth";
$charset = "utf-8";
$algorithm = "md5-sess";
$server = "example.com";
$user = "bob";
$pass = "somepass";
$md5Response = "realm=$server,nonce=$nonce,qop=$qop,charset=$charset,algorithm=$algorithm,xmpp,$server,$user,$pass";
I cannot seem to find what format should be included in the TLS response after I get the challenge. Where can I find that info?
Say I was doing it in PHP, should it look like:
$nonce = "somenoncevaluehere";
$qop = "auth";
$charset = "utf-8";
$algorithm = "md5-sess";
$server = "example.com";
$user = "bob";
$pass = "somepass";
$md5Response = "realm=$server,nonce=$nonce,qop=$qop,charset=$charset,algorithm=$algorithm,xmpp,$server,$user,$pass";
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了 cocoa 版本
I found a cocoa version