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

    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