开发版本-developer——01 first commit
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// SecurityCipher.h
|
||||
// SecurityGuardSDK
|
||||
//
|
||||
// Created by lifengzhong on 15/1/19.
|
||||
// Copyright (c) 2015年 Li Fengzhong. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SecurityCipher : NSObject
|
||||
|
||||
+ (NSString*) encryptString: (NSString*) input key: (NSString*) key;
|
||||
|
||||
+ (NSString*) decryptString: (NSString*) input key: (NSString*) key;
|
||||
|
||||
+ (NSData*) encryptBinary: (NSData*) input key: (NSString*) key;
|
||||
|
||||
+ (NSData*) decryptBinary: (NSData*) input key: (NSString*) key;
|
||||
|
||||
+ (NSString*) atlasEncryptString: (NSString*) input ;
|
||||
|
||||
@end
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// SecuritySignature.h
|
||||
// SecurityGuardSDK
|
||||
//
|
||||
// Created by lifengzhong on 15/1/19.
|
||||
// Copyright (c) 2015年 Li Fengzhong. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SecuritySignature : NSObject
|
||||
|
||||
+ (NSString*) sign: (NSString*) input key: (NSString*) key;
|
||||
|
||||
+ (NSString*) signWithSimulator: (NSString*) input key: (NSString*) key;
|
||||
|
||||
+ (NSString*) atlasSign: (NSString*) input key: (NSString*) key;
|
||||
|
||||
@end
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// SecurityStorage.h
|
||||
// SecurityGuardSDK
|
||||
//
|
||||
// Created by lifengzhong on 15/1/19.
|
||||
// Copyright (c) 2015年 Li Fengzhong. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SecurityStorage : NSObject
|
||||
|
||||
+ (NSInteger) putString: (NSString*) value key: (NSString*) key;
|
||||
|
||||
+ (NSString*) getString: (NSString*) key;
|
||||
|
||||
+ (void) removeString: (NSString*) key;
|
||||
|
||||
@end
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// SecurityVerification.h
|
||||
// SecurityGuardSDKPro
|
||||
//
|
||||
// Created by lifengzhong on 15/8/13.
|
||||
// Copyright (c) 2015年 alibaba. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface SecurityVerification : NSObject
|
||||
|
||||
|
||||
/**
|
||||
* 聚安全防控接口
|
||||
*
|
||||
* @param info 其他需要的信息,以key-v形式存于info中,可选
|
||||
* @param timeout 接口调用超时时间,单位秒,最大不超过22,最小不小于1
|
||||
*
|
||||
* @return 聚安全服务器返回的安全token
|
||||
*/
|
||||
+ (NSString*) doJAQVerfificationSync: (NSDictionary*) info
|
||||
timeout: (NSInteger) timeout;
|
||||
|
||||
@end
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// SimulatorDetect.h
|
||||
// SecurityGuardSDKPro
|
||||
//
|
||||
// Created by yangzhao.zy on 15/8/21.
|
||||
// Copyright (c) 2015年 alibaba. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef SecurityGuardSDKPro_SimulatorDetect_h
|
||||
#define SecurityGuardSDKPro_SimulatorDetect_h
|
||||
|
||||
@interface SimulatorDetect : NSObject
|
||||
|
||||
+ (BOOL) isSimulator;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user