实名认证替换SDK
This commit is contained in:
@@ -61,6 +61,40 @@
|
||||
"fontSize": 26
|
||||
}
|
||||
},
|
||||
"welcomePage": {
|
||||
"mainButton": {
|
||||
"backgroundColor": "#00FFFFFF",
|
||||
"backgroundImage": "face_confirm_button@2x.png",
|
||||
"textColor": "#FFFFFF",
|
||||
"fontSize": 32,
|
||||
"textPadding": {
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0
|
||||
}
|
||||
},
|
||||
"bannerControl": {
|
||||
"backgroundColor": "#4E6AF0"
|
||||
}
|
||||
},
|
||||
"privacyPage": {
|
||||
"mainButton": {
|
||||
"backgroundColor": "#00FFFFFF",
|
||||
"backgroundImage": "face_confirm_button@2x.png",
|
||||
"textColor": "#FFFFFF",
|
||||
"fontSize": 32,
|
||||
"textPadding": {
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0
|
||||
}
|
||||
},
|
||||
"logoImageView": {
|
||||
"src": "face_security_icon@2x.png"
|
||||
}
|
||||
},
|
||||
"detectPage": {
|
||||
"actionTipText": {
|
||||
"textColor": "#333333",
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
zh.strings
|
||||
ALRealIdentity
|
||||
|
||||
Created by keke feng on 2021/5/12.
|
||||
Copyright © 2021 Alibaba. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
"rpsdkGuidTitle"="请本人亲自操作";
|
||||
"rpsdkGuidSubtitle"="脸部无遮挡,正对手机,他人操作无效";
|
||||
"rpsdkGuidButtonText"="开始验证";
|
||||
"rpsdkGuidPrivacyText"="人脸信息非您许可不会用于其它用途";
|
||||
|
||||
"rpsdkDetectYawText"="左右摇头";
|
||||
"rpsdkDetectBlinkText"="眨下眼";
|
||||
"rpsdkDetectMouthText"="张下嘴";
|
||||
"rpsdkDetectPitchText"="上下点头";
|
||||
"rpsdkDetectStillText"="请注视屏幕";
|
||||
|
||||
"rpsdkDetectDarkTip"="太暗了";
|
||||
"rpsdkDetectTooBrightTip"="光线太亮";
|
||||
"rpsdkDetectFaceLightTip"="请面部正对光源";
|
||||
"rpsdkDetectLDistanceTip"="靠近点";
|
||||
"rpsdkDetectSDistanceTip"="离远点";
|
||||
"rpsdkDetectRaisePhoneTip"="手机拿高点";
|
||||
"rpsdkDetectShakeTip"="亲,手机别晃";
|
||||
"rpsdkDetectActionTooSmallTip"="动作大一点";
|
||||
"rpsdkDetectPitchTip"="请正对屏幕";
|
||||
"rpsdkDetectKeepFaceTip"="请保持面孔在框内";
|
||||
"rpsdkDetectHomeEventTip"="采集中断了,重新开始吧";
|
||||
"rpsdkDetectActionFailTip"="验证不通过";
|
||||
"rpsdkDetectActionFailMsgTip"="动作频率不要太快,建议摘掉眼镜等饰品";
|
||||
"rpsdkDetectActionFailMsgTimeout"="请保持面部在框内,并按提示做操作";
|
||||
|
||||
"rpsdkDetectActionFailTipOcclusion"="请不要遮挡嘴部";
|
||||
"rpsdkDetectActionFailTipFaceDismiss"="请保持手机平稳";
|
||||
"rpsdkDetectActionFailTipActionWrong"="请按提示做动作";
|
||||
"rpsdkDetectActionFailTipCommon"="动作不要太快";
|
||||
"rpsdkDetectRecapFailMsgTip"="验证失败,请确保是账户本人操作";
|
||||
"rpsdkDetectRecognizeFailTip"="验证未通过";
|
||||
"rpsdkDetectRecognizeFailMsgTip"="请确保是本人操作,在脸部无遮挡、光线良好的环境下重试。";
|
||||
"rpsdkDetectNetworkFailTip"="网络无法连接";
|
||||
"rpsdkDetectUploadImageFailTip"="图片上传失败"; // 英语待翻译
|
||||
"rpsdkDetectARUPUploadFailTip"="数据上传失败"; // 日语和英语待翻译
|
||||
|
||||
"rpsdkDetectNetworkFailMsgTip"="请检查网络或稍后再试";
|
||||
"rpsdkDetectRetryLimitTip"="验证不通过,请稍后再试";
|
||||
"rpsdkDetectHandleLimitTip"="操作太频繁了,请稍后再试";
|
||||
"rpsdkDetectImageQualityLessTip"="采集未通过,再试一次吧";
|
||||
"rpsdkDetectCameraPermissionDeniedTitle"="无法打开相机";
|
||||
"rpsdkDetectCameraPermissionDeniedMsg"="需要使用前置摄像头进行人脸验证,请开启本应用的摄像头访问权限";
|
||||
"rpsdkDetectCameraSetting"="去开启";
|
||||
"rpsdkDetectCameraInitFail"="摄像头初始化失败";
|
||||
"rpsdkDetectSystemErrorTip"="系统错误";
|
||||
"rpsdkDetectOK"="确定";
|
||||
"rpsdkDetectCancel"="取消";
|
||||
"rpsdkDetectRetry"="再来一次";
|
||||
"rpsdkDetectBack"="退出重试";
|
||||
"rpsdkDetectAlertTitle"="退出验证将无法保存您当前的验证进度,您确认要退出验证吗?";
|
||||
"rpsdkDetectLoadingText"="正在识别,请稍等";
|
||||
|
||||
"rpsdkDetectSoundBlink"="face_blink";
|
||||
"rpsdkDetectSoundMouth"="face_open_mouth";
|
||||
"rpsdkDetectSoundPitch"="face_pitch_up";
|
||||
"rpsdkDetectSoundYaw"="face_yaw_left_right";
|
BIN
xplan-ios/Library/RPSDK/RPSDK.bundle/icon/face_ok_icon@2x.png
Normal file
BIN
xplan-ios/Library/RPSDK/RPSDK.bundle/icon/face_ok_icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 355 B |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
@@ -66,6 +66,12 @@ NS_SWIFT_NAME(RPConfiguration)
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL showErrorResultPage;
|
||||
|
||||
/**
|
||||
活体检测页面是否等待服务端认证结果,默认不等待。
|
||||
此配置只适用于 native 接口,start 接口请在控制台配置。
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL shouldWaitResult DEPRECATED_MSG_ATTRIBUTE("v4.8.0 废弃,请及时删除, 默认等待服务端认证结果");
|
||||
|
||||
/**
|
||||
自定义活体检测页面展示方法。
|
||||
*/
|
||||
@@ -77,7 +83,7 @@ NS_SWIFT_NAME(RPConfiguration)
|
||||
@property (nonatomic, copy, nullable) RPViewControllerHandler dismissHandler;
|
||||
|
||||
/**
|
||||
页面弹出方式,默认为 present。
|
||||
页面弹出方式,默认为 present。 建议 present,如果你是 push 且支持横屏则需要在 nav 层控制实人的 VC 强制竖屏
|
||||
*/
|
||||
@property (nonatomic, assign) RPTransitionStyle transitionStyle;
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "RPSDKInterface.h"
|
||||
#import <RPSDK/RPSDKInterface.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#import <RPSDK/RPSDK+Deprecated.h>
|
||||
|
||||
// RPSDK 版本号
|
||||
#define RPSDKVersionString @"4.10.0"
|
||||
#define RPSDKVersionString @"4.13.3"
|
||||
|
||||
// RPSDK 发布时间
|
||||
#define RPSDKReleaseDateString @"20210520"
|
||||
#define RPSDKReleaseDateString @"20211231"
|
||||
|
@@ -8,8 +8,8 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "RPConfiguration.h"
|
||||
#import "RPResult.h"
|
||||
#import <RPSDK/RPConfiguration.h>
|
||||
#import <RPSDK/RPResult.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -25,21 +25,15 @@ NS_SWIFT_NAME(RPSDK)
|
||||
+ (void)setup;
|
||||
|
||||
/**
|
||||
使用默认配置开始实人认证,适用于 H5 + Native 的认证方案。
|
||||
使用 UI 默认配置。
|
||||
优先推荐使用此方法
|
||||
开始实人认证,使用默认 UI 配置,适用于纯 Native 的认证方案。支持认证基础方案列表如下:
|
||||
* RPBioOnly
|
||||
* RPBioOnlyPro
|
||||
* FVBioOnly
|
||||
* FDBioOnly
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startWithVerifyToken:(NSString *)verifyToken
|
||||
viewController:(UIViewController *)viewController
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,适用于纯 Native 的认证方案。
|
||||
只支持纯人脸的登陆 / 解锁 / 认证功能,纯 H5 方案不支持此方法。
|
||||
使用 UI 默认配置。
|
||||
认证方案介绍: https://help.aliyun.com/document_detail/127757.html
|
||||
支持引导页、隐私页、活体页,如果您的方案需要’拍证件照‘或者’手输身份证‘需求,则请使用 ’startWithVerifyToken:‘ 方法。
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@@ -50,33 +44,15 @@ NS_SWIFT_NAME(RPSDK)
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,使用指定的 H5 地址作为认证入口。
|
||||
使用 UI 默认配置。
|
||||
优先推荐使用此方法
|
||||
开始实人认证,可自定义 UI 配置,适用于纯 Native 的认证方案。支持认证基础方案列表如下:
|
||||
* RPBioOnly
|
||||
* RPBioOnlyPro
|
||||
* FVBioOnly
|
||||
* FDBioOnly
|
||||
|
||||
@param url 实人认证流程的地址。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startByURL:(NSString *)url
|
||||
viewController:(UIViewController *)viewController
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,适用于 H5 + Native 的认证方案。
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param configuration 实人认证配置。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startWithVerifyToken:(NSString *)verifyToken
|
||||
viewController:(UIViewController *)viewController
|
||||
configuration:(RPConfiguration *)configuration
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,适用于纯 Native 的认证方案。
|
||||
只支持纯人脸的登陆 / 解锁 / 认证功能,纯 H5 方案不支持此方法。
|
||||
认证方案介绍: https://help.aliyun.com/document_detail/127757.html
|
||||
支持引导页、隐私页、活体页,如果您的方案需要’拍证件照‘或者’手输身份证‘需求,则请使用 ’startWithVerifyToken:‘ 方法。
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@@ -91,7 +67,54 @@ NS_SWIFT_NAME(RPSDK)
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,使用指定的 H5 地址作为认证入口。
|
||||
开始实人认证,使用默认 UI 配置,适用于需要’拍证件照‘或者’手输身份证‘的认证方案, 支持方案列表如下:
|
||||
* RPBioID
|
||||
* RPBasic
|
||||
* RPManual
|
||||
|
||||
认证方案介绍: https://help.aliyun.com/document_detail/127757.html
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startWithVerifyToken:(NSString *)verifyToken
|
||||
viewController:(UIViewController *)viewController
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
开始实人认证,可自定义 UI 配置,适用于需要’拍证件照‘或者’手输身份证‘的认证方案, 支持方案列表如下:
|
||||
* RPBioID
|
||||
* RPBasic
|
||||
* RPManual
|
||||
|
||||
认证方案介绍: https://help.aliyun.com/document_detail/127757.html
|
||||
|
||||
@param verifyToken 实人认证流程的唯一标识,一般从接入方自己的服务端获取,有效时间 30 分钟。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param configuration 实人认证配置。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startWithVerifyToken:(NSString *)verifyToken
|
||||
viewController:(UIViewController *)viewController
|
||||
configuration:(RPConfiguration *)configuration
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
|
||||
/**
|
||||
废弃!!! 开始实人认证,使用指定的 H5 地址作为认证入口。 建议使用 startWithVerifyToken 接口,如不能满足需求可以咨询实人开发同学
|
||||
使用 UI 默认配置。
|
||||
|
||||
@param url 实人认证流程的地址。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@param completion 实人认证结果回调。
|
||||
*/
|
||||
+ (void)startByURL:(NSString *)url
|
||||
viewController:(UIViewController *)viewController
|
||||
completion:(RPCompletion _Nullable)completion
|
||||
DEPRECATED_MSG_ATTRIBUTE("建议使用 startWithVerifyToken 接口,如不能满足需求可以咨询实人开发或产品同学,计划于 2021.12.12 之后版本下线");
|
||||
|
||||
/**
|
||||
废弃!!! 开始实人认证,使用指定的 H5 地址作为认证入口。建议使用 startWithVerifyToken 接口,如不能满足需求可以咨询实人开发同学
|
||||
|
||||
@param url 实人认证流程的地址。
|
||||
@param viewController 调用实人认证的视图控制器。
|
||||
@@ -100,7 +123,8 @@ NS_SWIFT_NAME(RPSDK)
|
||||
+ (void)startByURL:(NSString *)url
|
||||
viewController:(UIViewController *)viewController
|
||||
configuration:(RPConfiguration *)configuration
|
||||
completion:(RPCompletion _Nullable)completion;
|
||||
completion:(RPCompletion _Nullable)completion
|
||||
DEPRECATED_MSG_ATTRIBUTE("建议使用 startWithVerifyToken 接口,如不能满足需求可以咨询实人认证开发或产品,计划于 2021.12.12 之后版本下线");
|
||||
|
||||
@end
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -79,7 +79,7 @@
|
||||
@param binaryCode 需要重新加载的binary code
|
||||
@param error 错误
|
||||
*/
|
||||
- (void) reloadLiteVMInstance: (LiteVMInstance*) instance
|
||||
- (BOOL) reloadLiteVMInstance: (LiteVMInstance*) instance
|
||||
binary: (NSData*) binaryCode
|
||||
error: (NSError**) error;
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
@param instance LVM实例
|
||||
@param error 错误
|
||||
*/
|
||||
- (void) destroyLiteVMInstance: (LiteVMInstance*) instance
|
||||
- (BOOL) destroyLiteVMInstance: (LiteVMInstance*) instance
|
||||
error: (NSError**) error;
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
@param param 参数数组
|
||||
@param error 错误
|
||||
*/
|
||||
- (void) callLiteVMVoidMethod: (LiteVMInstance*) instance
|
||||
- (BOOL) callLiteVMVoidMethod: (LiteVMInstance*) instance
|
||||
funtionIndex: (int) index
|
||||
paramArray: (NSArray<LiteVMParameterWrapper*>*) param
|
||||
error: (NSError**) error;
|
||||
|
@@ -15,31 +15,31 @@
|
||||
|
||||
#ifdef _SG_INTERNAL_VERSION_
|
||||
|
||||
#import "ISecurityGuardSafeToken.h"
|
||||
#import "ISecurityGuardInitialize.h"
|
||||
#import "ISecurityGuardDataCollection.h"
|
||||
#import "ISecurityGuardStaticDataStore.h"
|
||||
#import "ISecurityGuardStaticDataEncrypt.h"
|
||||
#import "ISecurityGuardDynamicDataEncrypt.h"
|
||||
#import "ISecurityGuardDynamicDataStore.h"
|
||||
#import "ISecurityGuardSecureSignature.h"
|
||||
#import "ISecurityGuardAtlasEncrypt.h"
|
||||
#import <SGMain/ISecurityGuardSafeToken.h>
|
||||
#import <SGMain/ISecurityGuardInitialize.h>
|
||||
#import <SGMain/ISecurityGuardDataCollection.h>
|
||||
#import <SGMain/ISecurityGuardStaticDataStore.h>
|
||||
#import <SGMain/ISecurityGuardStaticDataEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardDynamicDataEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardDynamicDataStore.h>
|
||||
#import <SGMain/ISecurityGuardSecureSignature.h>
|
||||
#import <SGMain/ISecurityGuardAtlasEncrypt.h>
|
||||
|
||||
#endif
|
||||
|
||||
#import "ISecurityGuardOpenSafeToken.h"
|
||||
#import "ISecurityGuardOpenInitialize.h"
|
||||
#import "ISecurityGuardOpenDataCollection.h"
|
||||
#import "ISecurityGuardOpenStaticDataStore.h"
|
||||
#import "ISecurityGuardOpenStaticDataEncrypt.h"
|
||||
#import "ISecurityGuardOpenDynamicDataEncrypt.h"
|
||||
#import "ISecurityGuardOpenDynamicDataStore.h"
|
||||
#import "ISecurityGuardOpenSecureSignature.h"
|
||||
#import "ISecurityGuardOpenAtlasEncrypt.h"
|
||||
#import "ISecurityGuardOpenUMID.h"
|
||||
#import "ISecurityGuardOpenStaticKeyEncrypt.h"
|
||||
#import "ISecurityGuardOpenOpenSDK.h"
|
||||
#import "ISecurityGuardOpenLiteVMService.h"
|
||||
#import <SGMain/ISecurityGuardOpenSafeToken.h>
|
||||
#import <SGMain/ISecurityGuardOpenInitialize.h>
|
||||
#import <SGMain/ISecurityGuardOpenDataCollection.h>
|
||||
#import <SGMain/ISecurityGuardOpenStaticDataStore.h>
|
||||
#import <SGMain/ISecurityGuardOpenStaticDataEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardOpenDynamicDataEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardOpenDynamicDataStore.h>
|
||||
#import <SGMain/ISecurityGuardOpenSecureSignature.h>
|
||||
#import <SGMain/ISecurityGuardOpenAtlasEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardOpenUMID.h>
|
||||
#import <SGMain/ISecurityGuardOpenStaticKeyEncrypt.h>
|
||||
#import <SGMain/ISecurityGuardOpenOpenSDK.h>
|
||||
#import <SGMain/ISecurityGuardOpenLiteVMService.h>
|
||||
|
||||
|
||||
|
||||
|
@@ -3,13 +3,13 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>19G2021</string>
|
||||
<string>20F71</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.alimobilesec.SGMain</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SGMain</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.5.27</string>
|
||||
<string>5.5.64</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
@@ -17,19 +17,19 @@
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>12.1</string>
|
||||
<string>14.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphoneos12.1</string>
|
||||
<string>iphoneos14.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1010</string>
|
||||
<string>1220</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>10B61</string>
|
||||
<string>12B45b</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>9.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
Binary file not shown.
@@ -15,18 +15,18 @@
|
||||
|
||||
#ifdef _SG_INTERNAL_VERSION_
|
||||
|
||||
#import "ISecurityGuardRootDetect.h"
|
||||
#import "ISecurityGuardSecurityBody.h"
|
||||
#import "ISecurityGuardSimulatorDetect.h"
|
||||
#import "ISecurityGuardPageTrack.h"
|
||||
#import <SGSecurityBody/ISecurityGuardRootDetect.h>
|
||||
#import <SGSecurityBody/ISecurityGuardSecurityBody.h>
|
||||
#import <SGSecurityBody/ISecurityGuardSimulatorDetect.h>
|
||||
#import <SGSecurityBody/ISecurityGuardPageTrack.h>
|
||||
#else
|
||||
|
||||
#import "ISecurityGuardOpenJAQVerification.h"
|
||||
#import <SGSecurityBody/ISecurityGuardOpenJAQVerification.h>
|
||||
|
||||
#endif
|
||||
|
||||
#import "ISecurityGuardOpenSecurityBody.h"
|
||||
#import "ISecurityGuardOpenSimulatorDetect.h"
|
||||
#import "ISecurityGuardOpenLBSRisk.h"
|
||||
#import <SGSecurityBody/ISecurityGuardOpenSecurityBody.h>
|
||||
#import <SGSecurityBody/ISecurityGuardOpenSimulatorDetect.h>
|
||||
#import <SGSecurityBody/ISecurityGuardOpenLBSRisk.h>
|
||||
|
||||
#endif /* SGSecurityBody_h */
|
||||
|
@@ -3,13 +3,13 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>19G2021</string>
|
||||
<string>20F71</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.alimobilesec.SGSecurityBody</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SGSecurityBody</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.5.33</string>
|
||||
<string>5.5.74</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
@@ -17,19 +17,19 @@
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>12.1</string>
|
||||
<string>14.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphoneos12.1</string>
|
||||
<string>iphoneos14.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1010</string>
|
||||
<string>1220</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>10B61</string>
|
||||
<string>12B45b</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>9.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
Binary file not shown.
@@ -72,6 +72,15 @@
|
||||
*/
|
||||
- (NSData*) dynamicDecryptByteArrayDDp: (NSData*) cipherByteArray;
|
||||
|
||||
|
||||
/**
|
||||
* 判断是否有数据校验功能,避免异常数据解密输出错误结果
|
||||
* @param cipherText 需要判断的密文字符串
|
||||
* @return 是否是具有校验的密文格式
|
||||
*/
|
||||
- (BOOL) isVerifyCrypt: (NSString*) cipherText;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
@@ -28,7 +28,8 @@
|
||||
*/
|
||||
- (NSInteger) initialize: (void *)authCode;
|
||||
|
||||
|
||||
- (NSInteger) initialize: (void *)authCode
|
||||
withCustomBundlePath:(NSString*) customBundlePath;
|
||||
@end
|
||||
|
||||
|
||||
|
@@ -160,6 +160,18 @@ typedef enum {
|
||||
+ (OpenSecurityGuardManager*) getInstance: (NSString *)authCode
|
||||
error: (NSError * __autoreleasing *)error;
|
||||
|
||||
/**
|
||||
* 获取SecurityGuardManager单例对象
|
||||
*
|
||||
* @param authCode 初始化传入authcode
|
||||
* @param customBundlePath 初始化传入自定义BundlePath
|
||||
*
|
||||
* @return SecurityGuardManager单例对象
|
||||
*/
|
||||
+ (OpenSecurityGuardManager*) getInstance: (NSString *)authCode
|
||||
withCustomBundlePath: (NSString *)customBundlePath
|
||||
error: (NSError * __autoreleasing *)error;
|
||||
|
||||
/**
|
||||
* 获取安全签名接口
|
||||
*
|
||||
|
@@ -15,64 +15,64 @@
|
||||
|
||||
#ifdef _SG_INTERNAL_VERSION_
|
||||
|
||||
#import "SecurityGuardManager.h"
|
||||
#import "SecurityGuardParamContext.h"
|
||||
#import "DP.h"
|
||||
#import <SecurityGuardSDK/SecurityGuardManager.h>
|
||||
#import <SecurityGuardSDK/SecurityGuardParamContext.h>
|
||||
#import <SecurityGuardSDK/DP.h>
|
||||
|
||||
#import "Initialize/IInitializeComponent.h"
|
||||
#import "AtlasEncrypt/IAtlasEncryptComponent.h"
|
||||
#import "NoCaptcha/INoCaptchaComponent.h"
|
||||
#import "NoCaptcha/NoCaptchaDefine.h"
|
||||
#import "UATrace/IUATraceComponent.h"
|
||||
#import "DynamicDataEncrypt/IDynamicDataEncryptComponent.h"
|
||||
#import "SecurityDNS/ISecurityDNSComponent.h"
|
||||
#import "StaticDataEncrypt/IStaticDataEncryptComponent.h"
|
||||
#import "StaticDataEncrypt/StaticDataEncryptDefine.h"
|
||||
#import "SimulatorDetect/ISimulatorDetectComponent.h"
|
||||
#import "DataCollection/IDataCollectionComponent.h"
|
||||
#import "RootDetect/IRootDetectComponent.h"
|
||||
#import "SecurityBody/ISecurityBodyComponent.h"
|
||||
#import "StaticDataStore/IStaticDataStoreComponent.h"
|
||||
#import "StaticDataStore/StaticDataStoreDefine.h"
|
||||
#import "DynamicDataStore/IDynamicDataStoreComponent.h"
|
||||
#import "IndieKit/IIndieKitComponent.h"
|
||||
#import "IndieKit/IndieKitDefine.h"
|
||||
#import "SecureSignature/ISecureSignatureComponent.h"
|
||||
#import "SecureSignature/SecureSignatureDefine.h"
|
||||
#import <SecurityGuardSDK/Initialize/IInitializeComponent.h>
|
||||
#import <SecurityGuardSDK/AtlasEncrypt/IAtlasEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/NoCaptcha/INoCaptchaComponent.h>
|
||||
#import <SecurityGuardSDK/NoCaptcha/NoCaptchaDefine.h>
|
||||
#import <SecurityGuardSDK/UATrace/IUATraceComponent.h>
|
||||
#import <SecurityGuardSDK/DynamicDataEncrypt/IDynamicDataEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/SecurityDNS/ISecurityDNSComponent.h>
|
||||
#import <SecurityGuardSDK/StaticDataEncrypt/IStaticDataEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/StaticDataEncrypt/StaticDataEncryptDefine.h>
|
||||
#import <SecurityGuardSDK/SimulatorDetect/ISimulatorDetectComponent.h>
|
||||
#import <SecurityGuardSDK/DataCollection/IDataCollectionComponent.h>
|
||||
#import <SecurityGuardSDK/RootDetect/IRootDetectComponent.h>
|
||||
#import <SecurityGuardSDK/SecurityBody/ISecurityBodyComponent.h>
|
||||
#import <SecurityGuardSDK/StaticDataStore/IStaticDataStoreComponent.h>
|
||||
#import <SecurityGuardSDK/StaticDataStore/StaticDataStoreDefine.h>
|
||||
#import <SecurityGuardSDK/DynamicDataStore/IDynamicDataStoreComponent.h>
|
||||
#import <SecurityGuardSDK/IndieKit/IIndieKitComponent.h>
|
||||
#import <SecurityGuardSDK/IndieKit/IndieKitDefine.h>
|
||||
#import <SecurityGuardSDK/SecureSignature/ISecureSignatureComponent.h>
|
||||
#import <SecurityGuardSDK/SecureSignature/SecureSignatureDefine.h>
|
||||
|
||||
#else
|
||||
|
||||
#import "JAQ/SecurityCipher.h"
|
||||
#import "JAQ/SecuritySignature.h"
|
||||
#import "JAQ/SecurityStorage.h"
|
||||
#import "JAQ/SecurityVerification.h"
|
||||
#import "JAQ/SimulatorDetect.h"
|
||||
#import <SecurityGuardSDK/JAQ/SecurityCipher.h>
|
||||
#import <SecurityGuardSDK/JAQ/SecuritySignature.h>
|
||||
#import <SecurityGuardSDK/JAQ/SecurityStorage.h>
|
||||
#import <SecurityGuardSDK/JAQ/SecurityVerification.h>
|
||||
#import <SecurityGuardSDK/JAQ/SimulatorDetect.h>
|
||||
|
||||
#endif
|
||||
|
||||
#import "Open/IOpenSecurityGuardPlugin.h"
|
||||
#import "Open/OpenSecurityGuardManager.h"
|
||||
#import "Open/OpenSecurityGuardParamContext.h"
|
||||
#import "Open/OpenUMID/IOpenUMIDComponent.h"
|
||||
#import "Open/OpenStaticKeyEncrypt/IOpenStaticKeyEncryptComponent.h"
|
||||
#import "Open/OpenStaticKeyEncrypt/OpenStaticKeyEncryptDefine.h"
|
||||
#import "Open/OpenStaticDataStore/IOpenStaticDataStoreComponent.h"
|
||||
#import "Open/OpenStaticDataStore/OpenStaticDataStoreDefine.h"
|
||||
#import "Open/OpenStaticDataEncrypt/IOpenStaticDataEncryptComponent.h"
|
||||
#import "Open/OpenStaticDataEncrypt/OpenStaticDataEncryptDefine.h"
|
||||
#import "Open/OpenSimulatorDetect/IOpenSimulatorDetectComponent.h"
|
||||
#import "Open/OpenSecurityBody/IOpenSecurityBodyComponent.h"
|
||||
#import "Open/OpenSecurityBody/OpenSecurityBodyDefine.h"
|
||||
#import "Open/OpenSecureSignature/IOpenSecureSignatureComponent.h"
|
||||
#import "Open/OpenSecureSignature/OpenSecureSignatureDefine.h"
|
||||
#import "Open/OpenOpenSDK/IOpenOpenSDKComponent.h"
|
||||
#import "Open/OpenNoCaptcha/IOpenNoCaptchaComponent.h"
|
||||
#import "Open/OpenNoCaptcha/OpenNoCaptchaDefine.h"
|
||||
#import "Open/OpenInitialize/IOpenInitializeComponent.h"
|
||||
#import "Open/OpenDynamicDataStore/IOpenDynamicDataStoreComponent.h"
|
||||
#import "Open/OpenDynamicDataEncrypt/IOpenDynamicDataEncryptComponent.h"
|
||||
#import "Open/OpenDataCollection/IOpenDataCollectionComponent.h"
|
||||
#import "Open/OpenAtlasEncrypt/IOpenAtlasEncryptComponent.h"
|
||||
#import <SecurityGuardSDK/Open/IOpenSecurityGuardPlugin.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecurityGuardManager.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecurityGuardParamContext.h>
|
||||
#import <SecurityGuardSDK/Open/OpenUMID/IOpenUMIDComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticKeyEncrypt/IOpenStaticKeyEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticKeyEncrypt/OpenStaticKeyEncryptDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticDataStore/IOpenStaticDataStoreComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticDataStore/OpenStaticDataStoreDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticDataEncrypt/IOpenStaticDataEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenStaticDataEncrypt/OpenStaticDataEncryptDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSimulatorDetect/IOpenSimulatorDetectComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecurityBody/IOpenSecurityBodyComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecurityBody/OpenSecurityBodyDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecureSignature/IOpenSecureSignatureComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenSecureSignature/OpenSecureSignatureDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenOpenSDK/IOpenOpenSDKComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenNoCaptcha/IOpenNoCaptchaComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenNoCaptcha/OpenNoCaptchaDefine.h>
|
||||
#import <SecurityGuardSDK/Open/OpenInitialize/IOpenInitializeComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenDynamicDataStore/IOpenDynamicDataStoreComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenDynamicDataEncrypt/IOpenDynamicDataEncryptComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenDataCollection/IOpenDataCollectionComponent.h>
|
||||
#import <SecurityGuardSDK/Open/OpenAtlasEncrypt/IOpenAtlasEncryptComponent.h>
|
||||
|
||||
|
||||
|
||||
|
@@ -3,13 +3,13 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>19G2021</string>
|
||||
<string>20F71</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.alimobilesec.SecurityGuardSDK</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SecurityGuardSDK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.5.27</string>
|
||||
<string>5.5.64</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
@@ -17,19 +17,19 @@
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>iphoneos</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>12.1</string>
|
||||
<string>14.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>16B91</string>
|
||||
<string>18B79</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>iphoneos12.1</string>
|
||||
<string>iphoneos14.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1010</string>
|
||||
<string>1220</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>10B61</string>
|
||||
<string>12B45b</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>9.0</string>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user