54 lines
1.4 KiB
Objective-C
54 lines
1.4 KiB
Objective-C
//
|
||
// XTQMData.h
|
||
// bymsSDK
|
||
//
|
||
// Created by swxa@saas on 2021/3/30.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface XTQMData : NSObject
|
||
|
||
|
||
/// 方法返回错误码 0为成功 -1为失败
|
||
@property (nonatomic,assign) NSInteger code;
|
||
/// 具体错误码
|
||
@property (nonatomic,copy) id errCode;
|
||
/// 0代表扫码身份认证,1代表扫码签名,
|
||
@property (nonatomic,assign) NSInteger flag;
|
||
/// 错误信息
|
||
@property (nonatomic,copy) NSString *msg;
|
||
/// 当前业务标识
|
||
@property (nonatomic,copy) NSString *key;
|
||
/// 签名值
|
||
@property (nonatomic,copy) NSString *sign;
|
||
/// 明文
|
||
@property (nonatomic,copy) NSString *plain;
|
||
/// 密文
|
||
@property (nonatomic,copy) NSString *cipher;
|
||
/// 签名证书
|
||
@property (nonatomic,copy) NSString *signCert;
|
||
/// 身份认证返回clientHello
|
||
@property (nonatomic,copy) NSString *clientHelloHex;
|
||
/// 身份认证返回clientInfo
|
||
@property (nonatomic,copy) NSString * clientInfo;
|
||
|
||
@property (nonatomic,copy) NSString * sessionKey;
|
||
/// 身份认证返回clientAuth
|
||
@property (nonatomic,copy) NSString * clientAuth;
|
||
/// 证书信息
|
||
@property (nonatomic,copy) NSDictionary *certInfo;
|
||
/// 验签结果
|
||
@property (nonatomic,assign) bool verifyResult;
|
||
/// 随机数
|
||
@property (nonatomic,copy) NSString * random;
|
||
/// 设备号
|
||
@property (nonatomic,copy) NSString * deviceId;
|
||
///获取当前设备证书列表
|
||
@property (nonatomic,copy) NSArray * data;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|