`

PushMeBaby中的神秘错误代码OSStatus的实际含义

 
阅读更多

1)查看SecureTransport.h中

/*************************************************

 *** OSStatus values unique to SecureTransport ***

 *************************************************/

 

/*

    Note: the comments that appear after these errors are used to create SecErrorMessages.strings.

    The comments must not be multi-line, and should be in a form meaningful to an end user. If

    a different or additional comment is needed, it can be put in the header doc format, or on a

    line that does not start with errZZZ.

*/

 

enum {

errSSLProtocol = -9800, /* SSL protocol error */

errSSLNegotiation = -9801, /* Cipher Suite negotiation failure */

errSSLFatalAlert = -9802, /* Fatal alert */

errSSLWouldBlock = -9803, /* I/O would block (not fatal) */

errSSLSessionNotFound = -9804, /* attempt to restore an unknown session */

errSSLClosedGraceful = -9805, /* connection closed gracefully */

errSSLClosedAbort = -9806, /* connection closed via error */

errSSLXCertChainInvalid = -9807, /* invalid certificate chain */

errSSLBadCert = -9808, /* bad certificate format */

errSSLCrypto = -9809, /* underlying cryptographic error */

errSSLInternal = -9810, /* Internal error */

errSSLModuleAttach = -9811, /* module attach failure */

errSSLUnknownRootCert = -9812, /* valid cert chain, untrusted root */

errSSLNoRootCert = -9813, /* cert chain not verified by root */

errSSLCertExpired = -9814, /* chain had an expired cert */

errSSLCertNotYetValid = -9815, /* chain had a cert not yet valid */

errSSLClosedNoNotify = -9816, /* server closed session with no notification */

errSSLBufferOverflow = -9817, /* insufficient buffer provided */

errSSLBadCipherSuite = -9818, /* bad SSLCipherSuite */

/* fatal errors detected by peer */

errSSLPeerUnexpectedMsg = -9819, /* unexpected message received */

errSSLPeerBadRecordMac = -9820, /* bad MAC */

errSSLPeerDecryptionFail = -9821, /* decryption failed */

errSSLPeerRecordOverflow = -9822, /* record overflow */

errSSLPeerDecompressFail = -9823, /* decompression failure */

errSSLPeerHandshakeFail = -9824, /* handshake failure */

errSSLPeerBadCert = -9825, /* misc. bad certificate */

errSSLPeerUnsupportedCert = -9826, /* bad unsupported cert format */

errSSLPeerCertRevoked = -9827, /* certificate revoked */

errSSLPeerCertExpired = -9828, /* certificate expired */

errSSLPeerCertUnknown = -9829, /* unknown certificate */

errSSLIllegalParam = -9830, /* illegal parameter */

errSSLPeerUnknownCA = -9831, /* unknown Cert Authority */

errSSLPeerAccessDenied = -9832, /* access denied */

errSSLPeerDecodeError = -9833, /* decoding error */

errSSLPeerDecryptError = -9834, /* decryption error */

errSSLPeerExportRestriction = -9835, /* export restriction */

errSSLPeerProtocolVersion = -9836, /* bad protocol version */

errSSLPeerInsufficientSecurity = -9837, /* insufficient security */

errSSLPeerInternalError = -9838, /* internal error */

errSSLPeerUserCancelled = -9839, /* user canceled */

errSSLPeerNoRenegotiation = -9840, /* no renegotiation allowed */

 

/* non-fatal result codes */

errSSLServerAuthCompleted = -9841, /* server cert is valid, or was ignored if verification disabled */

errSSLClientCertRequested = -9842, /* server has requested a client cert */

 

/* more errors detected by us */

errSSLHostNameMismatch = -9843, /* peer host name mismatch */

errSSLConnectionRefused = -9844, /* peer dropped connection before responding */

errSSLDecryptionFail = -9845, /* decryption failure */

errSSLBadRecordMac = -9846, /* bad MAC */

errSSLRecordOverflow = -9847, /* record overflow */

errSSLBadConfiguration = -9848, /* configuration error */

errSSLLast = -9849 /* end of range, to be deleted */

};

0
1
分享到:
评论

相关推荐

    PushMeBaby

    《PushMeBaby:APNS推送消息测试工具详解》 在iOS应用开发中,Apple Push Notification ...在"PushMeBaby-master"这个压缩包中,包含了源代码和其他相关资源,开发者可以根据需要进行二次开发或深入研究其工作原理。

    PushMeBaby for Mac

    5. **PushMeBaby-master**:这是压缩包中的主文件夹,可能包含了PushMeBaby项目的源代码、资源文件以及相关文档。开发者解压后,需在Xcode中导入这个文件夹,以打开和编辑项目。 6. **模拟推送**:使用PushMeBaby,...

    最新 PushMeBaby

    本文将深入探讨PushMeBaby的工作原理、使用方法及其在iOS推送测试中的重要性。 一、PushMeBaby简介 PushMeBaby是由开发社区推出的一款开源项目,其主要目的是简化iOS应用的推送通知测试流程。该工具支持快速配置和...

    PushMeBaby-OneMoreTime-Again

    标题中的"PushMeBaby-OneMoreTime-Again"很可能是一个软件项目或者应用的名称,它可能是对原"PushMeBaby"的升级版或增强版本。在IT行业中,这种命名方式常见于开源项目,开发者通常会在原有项目基础上进行改进并发布...

    pushMeBaby

    通过研究PushMeBaby项目,开发者不仅可以掌握基本的iOS推送服务实现,还能了解到如何在实际项目中优化和扩展推送功能,提升用户体验。无论你是初学者还是经验丰富的开发者,这个项目都值得你深入研究。

    PushMeBaby测试开发推送工具

    替换PushMeBaby里的apns.cer。 2.获取deviceToken。替换 PushMeBaby里的self.deviceToken值。 3.按格式修改self.payload里的值。 备注: 苹果的APNS服务器地址有2个分别为: 测试的服务器地址:gateway.sandbox....

    PushMeBaby Mac上测试推送通知

    PushMeBaby Mac上测试推送通知,经测试可用,谢谢下载。

    PushMeBaby ios推送通知测试工具

    - **错误处理**:在测试过程中,可能会遇到推送失败的情况,如deviceToken无效或证书问题等,PushMeBaby可以帮助识别和解决这些问题。 总的来说,PushMeBaby是iOS开发者调试和测试推送通知功能的强大工具,通过它,...

    IOS远程推送--PushMeBaby

    6. **调试和优化**:通过PushMeBaby,开发者可以快速迭代和测试推送通知的各个部分,如通知标题、内容、图标,以及附加数据的结构,以确保在实际环境中能正常工作并提供良好的用户体验。 7. **批量推送**:对于需要...

    在Mac上push信息测试工具PushMeBaby

    标题中的“在Mac上push信息测试工具PushMeBaby”指的是一个专为Mac用户设计的用于推送消息测试的应用程序。PushMeBaby是这个工具的名字,它旨在帮助开发者在不需搭建完整的push服务器的情况下,就能便捷地进行push...

    推送PushMeBaby

    推送PushMeBaby,IOS中非常实用的DEMO,服务器端代码也有

    IOS推送通知测试工具PushMeBaby

    6. **错误检测**:能够检测并显示推送过程中可能出现的错误,便于定位问题。 二、使用PushMeBaby的流程: 1. **获取设备Token**:首先,你需要在iOS设备上运行你的应用,并注册以获取设备Token,这是推送通知的...

    IOS 消息远程推送 PushMeBaby demo 测试通过

    本代码是著名的PushMeBaby demo ,刚刚测试通过。希望可以帮助到可以帮助的人。 具体的远程推送详解可以参考我的博客:http://blog.csdn.net/robinson_911/article/details/40658663

    IOS推送通知测试环境

    在应用的AppDelegate.m文件中添加代码来获取并打印Device Token。接着,在PushMeBaby中输入这个Device Token,设置好推送内容,点击发送,即可在你的测试设备上看到推送通知。 在测试过程中,我们需要注意以下几点...

Global site tag (gtag.js) - Google Analytics