NIMSDK-iOS
载入中...
搜索中...
未找到
NIMEncryptionConfig.h 文件参考
#import <Foundation/Foundation.h>
#import "NIMAsymEncryptionOption.h"

浏览源代码.

class  NIMEncryptionConfig
 

枚举

enum  NIMAsymEncryptionType { NIMAsymEncryptionTypeRSA = 1 , NIMAsymEncryptionTypeSM2 = 1 << 1 }
 
enum  NIMSymEncryptionType { NIMSymEncryptionTypeRC4 = 1 , NIMSymEncryptionTypeAES = 1 << 1 , NIMSymEncryptionTypeSM4 = 1 << 2 }
 

枚举类型说明

◆ NIMAsymEncryptionType

非对称加密类型

  • NIMAsymEncryptionTypeRSA: RSA加密
  • NIMAsymEncryptionTypeSM2: SM加密
枚举值
NIMAsymEncryptionTypeRSA 
NIMAsymEncryptionTypeSM2 

◆ NIMSymEncryptionType

对称加密类型

  • NIMSymEncryptionTypeRC4: RC4加密
  • NIMSymEncryptionTypeAES: AES加密
  • NIMSymEncryptionTypeSM4: SM4加密
枚举值
NIMSymEncryptionTypeRC4 
NIMSymEncryptionTypeAES 
NIMSymEncryptionTypeSM4