JLChen
2021-10-28 e96683081abd5c1a94608dd33d092d8f45371cd6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
//  Copyright © 2016年 Dahua. All rights reserved.
//
 
 
@interface LCEncryptValidInfo : NSObject
/**
 *  是否验证成功
 */
@property (nonatomic, assign) BOOL isValid;
/**
 *  账号的AccessToken
 */
@property (nonatomic, copy) NSString *accessToken;
/**
 *  过期时间,单位秒
 */
@property (nonatomic, assign) int64_t expiresTime;
 
@end
 
 
 
/**
 设备新加密信息
 */
@interface LCContentEncryptInfo : NSObject
 
/**
 内容加密模式:
 *  none 不加密
 *  dahua: 0x95扩展头加密
 */
@property (nonatomic, copy) NSString *encryptionMode;
 
/**
 密钥生成算法版本号,仅在encryptMode为"dahua"时有效
 *  easy4ip
 *  lechange
 *  dahuapass
 */
@property (nonatomic, copy) NSString *ruleVerison;
 
/**
 内容加密密钥种子keySeed的模式
 *  default 序列号
 *  custom  用户自定义的
 */
@property (nonatomic, copy) NSString *keyMode;
@end