aciInitEncryption

Call the aciInitEncryption function to initialize the encryption keys to use for subsequent ACI connections.

Syntax

aciError aciInitEncryption (
    BOOL bOEMLicensed,
    char* szEncType,
    char* szTEAKeys)

Arguments

Arguments Type/Description
bOEMLicensed

BOOL  One of the following values:

  • TRUE
  • FALSE
szEncType char*  The encryption type. Set this to TEA to use OEM encryption.
szTEAKeys char*  The TEA keys to use for OEM encryption.

Discussion

You must call this function at the beginning of an application when you want to use OEM encryption. If the application is OEM licensed, the API attempts to encrypt all requests.

For more information about using OEM encryption, see OEM Encryption.