MoEngageNetworkDataSecurityConfig
public class MoEngageNetworkDataSecurityConfig: NSObject
API Data Encryption Configuration
-
If true sdk will encrypt all data in the API Request.
Declaration
Swift
public let isEncryptionEnabled: Bool
-
Encryption Key which will be use to encrypt/decrypt data in Debug mode
Declaration
Swift
public var encryptionKeyDebug: String
-
Encryption Key which will be use to encrypt/decrypt data in Release mode
Declaration
Swift
public var encryptionKeyRelease: String
-
Initialize the instance of MoEngageNetworkDataSecurityConfig
Declaration
Swift
public init(isEncryptionEnabled: Bool, encryptionKeyDebug: String, encryptionKeyRelease: String)
Parameters
isEncryptionEnabled
Pass true to enable the API encryption
encryptionKeyDebug
Encryption Key which will be use to encrypt/decrypt data in Debug mode
encryptionKeyRelease
Encryption Key which will be use to encrypt/decrypt data in Release mode