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