Skip to main content
The AES connector provides native AES encryption and decryption of message content directly within CData Arc.

Key Capabilities

  • Native AES encryption and decryption of message content, with no external tools or scripts required
  • Multiple key sources (password-based key derivation, static key, or header-supplied key) and seven cipher modes
  • Configurable nonce/IV handling, GCM authentication, password salt, and padding, with interoperability for content encrypted by OpenSSL

Overview

The AES connector performs native AES encryption and decryption of message content, replacing prior workarounds that required invoking OpenSSL through ArcScript and managing external processes. The connector offers two operations: Encrypt (the default) and Decrypt. You configure how keys, cipher modes, and metadata (such as nonces or IVs and authentication tags) are handled.
The connector can decrypt content originally encrypted with OpenSSL (AES-CBC), provided the same key, IV, and padding configuration are used.
Passwords, keys, and sensitive header values are masked in all logs, message details, audit records, debug output, errors, and support packages. In addition, authentication failures never return partially decrypted content.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

The available settings depend on the selected Operation, Key source, and Cipher Mode.

Configuration

Settings related to the core operation of the connector.
SettingDescription
Connector IdThe static, unique identifier for the connector.
Connector TypeDisplays the connector name and a description of what it does.
Connector DescriptionAn optional field to provide a free-form description of the connector and its role in the flow.
Use the Operation radio buttons to specify whether the connector encrypts (the default) or decrypts message content.

Key

Settings related to the AES key. The available fields depend on the selected Key source. The following table shows the settings for Password-Based Key Derivation.
Non-Default Key Options
  • If you are using a Static Key, provide the Key as hexadecimal (prefixed with 0x) or Base64. The decoded key must be 16, 24, or 32 bytes (AES-128, AES-192, or AES-256).
  • If you are using a Header-supplied Key, binary values you enter accept hex (0x) or Base64; binary values the connector generates and writes to headers are Base64-encoded. The decoded key must be 16, 24, or 32 bytes (AES-128, AES-192, or AES-256).
Non-Default Password Salt Options
  • If you choose Static in Password Salt, use the Password Salt field to provide a value that decodes to exactly 16 bytes, as 0x-prefixed hexadecimal or Base64.
  • If you choose Header in Password Salt, enter the name of the message header used to read or write the password salt in the Password Salt Header field.

Cipher

Settings related to the cipher mode and nonce/IV handling.
In Decrypt mode, the Nonce / IV Auto-Generate field changes to Included.

Authentication

GCM cipher mode only.

Advanced Tab

Advanced Settings

Settings not included in the previous categories.

Logging

Settings that govern the creation and storage of logs.

SettingDescription
Log LevelThe verbosity of logs generated by the connector. When you request support, set this to Debug.
Log Subfolder SchemeInstructs the connector to group files in the Logs folder according to the selected interval. The Weekly option (which is the default) instructs the connector to create a new subfolder each week and store all logs for the week in that folder. Leaving this setting blank tells the connector to save all logs directly in the Logs folder. For connectors that process many transactions, using subfolders helps keep logs organized and improves performance.
Log MessagesCheck this to have the log entry for a processed file include a copy of the file itself. If you disable this, you might not be able to download a copy of the file from the Transactions tab.

Miscellaneous

Miscellaneous settings are for specific use cases.

SettingDescription
Other SettingsEnables you to configure hidden connector settings in a semicolon-separated list (for example, setting1=value1;setting2=value2). Normal connector use cases and functionality should not require the use of these settings.

Automation Tab

Settings

Settings related to the automatic processing of files by the connector.

Performance

Settings related to the allocation of resources to the connector.

SettingDescription
Max WorkersThe maximum number of worker threads consumed from the threadpool to process files on this connector. If set, this overrides the default setting on the Performance Settings portion of the Advanced Settings page.
Max FilesThe maximum number of files sent by each thread assigned to the connector. If set, this overrides the default setting on the Performance Settings portion of the Advanced Settings page.

Alerts Tab

SLAs Tab

Included Payload Format

When metadata is included in the payload, the connector orders the fields as follows, omitting any field that is not configured:

Default Header Names

When keys or metadata are read from or written to message headers, the connector uses these default header names:

Macros

Examples