目录
目录README.md

SecuritySuite

Swift Package

Description

iOS platform security & anti-tampering Swift library. Refactored version of the IOSSecuritySuite by securing.

Integration

Use Swift Package Manager to integrate.

Usage

// Setup.
SecuritySuite.setup(.enabled(isJailBrokenCheckEnabled: true,
                             isDebuggerCheckEnabled: true,
                             isEmulatorCheckEnabled: true,
                             isReverseEngineeringCheckEnabled: true))

// Get security check result.
// If the first true condition check was met the later checks are stopped.
switch SecuritySuite.checkSecurityIssues() {
case .succes:
    // Proceed to normal flow.
case .failure(let securityError):
    // Present cannot proceed scene.
}

Logging

SecuritySuite uses its own printing methods to log errors or success by default, but if you want those messages to pass through your own logging system create an adapter instance by conforming to SecuritySuiteLogAdapter protocol and pass it as log parameter when calling setup function or you can completely disable it.

License

SecuritySuite is distributed under the terms and conditions of the LICENSE.

关于
115.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号