String
Cryptography Module Reference 2.0
Cryptography Module v2.0
Cryptography Module provides cryptography capabilities to a Mule application.
Configurations
Jce
JCE configuration for Java keystores and inline keys.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Name |
String |
Name for this configuration. Connectors reference the configuration with this name. |
x |
|
Keystore |
Path to the keystore file. |
|||
Type |
Enumeration, one of:
|
Type of the keystore. |
x |
|
Password |
String |
Password for unlocking the keystore. |
||
Jce Key Infos |
Array of One of: |
List of keys to be considered, with internal IDs for referencing them. |
||
Use random IVs |
Boolean |
Use random initial vectors (IVs) for CBC algorithms. In case of decryption, it assumes IV is prepended on the ciphertext. |
false |
|
Name |
String |
ID used to reference this configuration. |
x |
|
Expiration Policy |
Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
Supported Operations
Pgp
Keystore configuration for GPG. Contains a list of keys with internal names to use in the operations.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Name |
String |
Name for this configuration. Connectors reference the configuration with this name. |
x |
|
Public Keyring |
String |
Public key ring file. |
||
Private Keyring |
String |
Private key ring file. |
||
Pgp Key Infos |
Array of One of: |
List of keys to be considered, with internal IDs for referencing them. |
||
Name |
String |
ID used to reference this configuration. |
x |
|
Expiration Policy |
Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
Jce Decrypt
<crypto:jce-decrypt>
Decrypt a stream using JCE, with a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to decrypt |
#[payload] |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Cipher |
String |
A raw cipher string in the form "algorithm/mode/padding", according to the Java crypto documentation. Note that not all combinations are valid. |
||
Algorithm |
Enumeration, one of:
|
Algorithm from a list of valid definitions, this is preferred. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Encrypt
<crypto:jce-encrypt>
Encrypt a stream using JCE, with a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to encrypt |
#[payload] |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Cipher |
String |
A raw cipher string in the form "algorithm/mode/padding", according to the Java crypto documentation. Note that not all combinations are valid. |
||
Algorithm |
Enumeration, one of:
|
Algorithm from a list of valid definitions, this is preferred. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Sign
<crypto:jce-sign>
Sign a stream using JCE, with a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to sign |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the algorithm used for signing |
HmacSHA256 |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Validate
<crypto:jce-validate>
Validate a stream against a signature, using a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Value |
Any |
the message to authenticate |
#[payload] |
|
Expected |
String |
the signature to validate |
x |
|
Algorithm |
Enumeration, one of:
|
the algorithm used for signing |
HmacSHA256 |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Xml Decrypt
<crypto:xml-decrypt>
Decrypt the XML document.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the document to decrypt |
#[payload] |
|
Element Path |
String |
|||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Xml Encrypt
<crypto:xml-encrypt>
Encrypt the XML document.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the document to encrypt |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the algorithm for encryption |
AES_CBC |
|
Element Path |
String |
the path to the element to encrypt, if empty the whole document is considered |
||
Encrypt Content |
Boolean |
encrypt the XML element or its content, if false the whole XML element is encrypted. |
true |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Encryption Algorithm |
Enumeration, one of:
|
RSA_OAEP |
||
Canonicalization algorithm |
Enumeration, one of:
|
EXCLUSIVE |
||
Digest Algorithm |
Enumeration, one of:
|
SHA512 |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Xml Sign
<crypto:xml-sign>
Sign an XML document.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the XML document to sign |
#[payload] |
|
Digest Algorithm |
Enumeration, one of:
|
the hashing algorithm for signing |
SHA256 |
|
Canonicalization Algorithm |
Enumeration, one of:
|
the canonicalization method for whitespace and namespace unification |
EXCLUSIVE |
|
Type |
Enumeration, one of:
|
the type of signature to create |
ENVELOPED |
|
Element Path |
String |
for internally detached signatures, an unambiguous XPath expression resolving to the element to sign |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Xml Validate
<crypto:xml-validate>
Validate an XML signed document.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the document to verify (includes the signature) |
#[payload] |
|
Element Path |
String |
for internally detached signatures, an unambiguous XPath expression resolving to the signed element |
||
Use Inline Certificate If Present |
Boolean |
Use inline defined certificate if found |
false |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
x |
|
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Jce Key Info |
An inline key definition. |
|||
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Decrypt
<crypto:pgp-decrypt>
Decrypt a stream using PGP, giving the original data as a result. The decryption is done with the private key, so the secret passphrase must be provided.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to decrypt |
#[payload] |
|
File Name |
String |
the internal file name to decrypt, if not present the first will be used |
||
Validate If Signature Found |
Boolean |
If the message being decrypted contains a signature, choose whether or not to validate the decrypted message against it |
false |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Encrypt
<crypto:pgp-encrypt>
Encrypt a stream using PGP, giving an ASCII-armored stream output as a result. The encryption is done with the public key of the recipient, so the secret passphrase is not required.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to encrypt |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the symmetric algorithm to use for encryption |
AES_256 |
|
File Name |
String |
the internal file name to use in the resulting PGP header |
stream |
|
Disable MDC |
Boolean |
If set, MDC (modification detection code) will not be used during encryption |
false |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Pgp Key Info |
One of: |
An inline key definition. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Encrypt And Sign
<crypto:pgp-encrypt-and-sign>
Encrypt a stream using PGP, giving an ASCII-armored stream output as a result. The encryption is done with the public key of the recipient, so the secret passphrase is not required.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to encrypt |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the symmetric algorithm to use for encryption |
AES_256 |
|
File Name |
String |
the internal file name to use in the resulting PGP header |
stream |
|
Encryption Key Selection |
the key used to encrypt the message. |
x |
||
Sign Key Selection |
the key used to sign the message. |
x |
||
Disable MDC |
Boolean |
If set, MDC (modification detection code) will not be used during encryption |
false |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Encrypt Binary
<crypto:pgp-encrypt-binary>
Encrypt a stream using PGP, giving a binary output as a result. The encryption is done with the public key of the recipient, so the secret passphrase is not required.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to encrypt |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the symmetric algorithm to use for encryption |
AES_256 |
|
File Name |
String |
the internal file name to use in the resulting PGP header |
stream |
|
Disable MDC |
Boolean |
If set, MDC (modification detection code) will not be used during encryption |
false |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Pgp Key Info |
One of: |
An inline key definition. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Sign
<crypto:pgp-sign>
Create a detached (standalone) PGP signature of the stream. The signing is done with the private key of the sender, so the secret passphrase must be provided.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to sign |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the digest (or hashing) algorithm |
SHA256 |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Pgp Key Info |
One of: |
An inline key definition. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Sign Binary
<crypto:pgp-sign-binary>
Create a detached (standalone) PGP signature of the stream. The signing is done with the private key of the sender, so the secret passphrase must be provided.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Content |
Any |
the content to sign |
#[payload] |
|
Algorithm |
Enumeration, one of:
|
the digest (or hashing) algorithm |
SHA256 |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Pgp Key Info |
One of: |
An inline key definition. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Validate
<crypto:pgp-validate>
Validate a PGP signature against a stream, to authenticate it. The validation is done with the public key of the sender, so the secret passphrase is not required.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Value |
Any |
the message to authenticate |
#[payload] |
|
Expected |
Any |
the signature |
x |
|
Config Ref |
ConfigurationProvider |
Name of the configuration to use to execute this component. |
||
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Calculate Checksum
<crypto:calculate-checksum>
Calculate the checksum of the stream.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Algorithm |
Enumeration, one of:
|
the checksum algorithm |
SHA_512 |
|
Content |
Any |
the content for calculating the checksum |
#[payload] |
|
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Decrypt Pbe
<crypto:jce-decrypt-pbe>
Decrypt a stream using JCE, with a password.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Content |
Any |
the content to decrypt |
#[payload] |
|
Algorithm |
String |
the algorithm for generating a key from the password |
PBKDF2withHmacSHA512AES256CBC__PKCS5Padding |
|
Password |
String |
the password for decryption |
x |
|
Password Salt |
String |
the password salt used to sign. Recommended minimum: 16 bytes of random data to ensure uniqueness and prevent rainbow table attacks. The salt is encoded in UTF-8 and cannot be modified after creation. |
||
Iteration Count |
Number |
the iteration count used to sign. Recommended minimum: 100,000 iterations to slow down brute-force attacks in modern hardware. |
0 |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Encrypt Pbe
<crypto:jce-encrypt-pbe>
Encrypt a stream using JCE, with a password.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Content |
Any |
the content to encrypt |
#[payload] |
|
Algorithm |
String |
the algorithm for generating a key from the password |
PBKDF2withHmacSHA512AES256CBC__PKCS5Padding |
|
Password |
String |
the password for encryption |
x |
|
Password Salt |
String |
the password salt used to sign. Recommended minimum: 16 bytes of random data to ensure uniqueness and prevent rainbow table attacks. The salt is encoded in UTF-8 and cannot be modified after creation. |
x |
|
Iteration Count |
Number |
the iteration count used to sign. Recommended minimum: 100,000 iterations to slow down brute-force attacks in modern hardware. |
x |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Output Encoding |
String |
The encoding of the payload that this operation outputs. |
||
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Sign Pbe
<crypto:jce-sign-pbe>
Sign a stream using JCE, with a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Content |
Any |
the content to sign |
#[payload] |
|
Algorithm |
String |
the algorithm used for signing |
PBKDF2withHmacSHA512 |
|
Password |
String |
the password used to sign |
x |
|
Password Salt |
String |
the password salt used to sign. Recommended minimum: 16 bytes of random data to ensure uniqueness and prevent rainbow table attacks. The salt is encoded in UTF-8 and cannot be modified after creation. |
x |
|
Iteration Count |
Number |
the iteration count used to sign. Recommended minimum: 100,000 iterations to slow down brute-force attacks in modern hardware. |
x |
|
Output Mime Type |
String |
The mime type of the payload that this operation outputs. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Jce Validate Pbe
<crypto:jce-validate-pbe>
Validate a stream against a signature, using a key.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Value |
Any |
the message to authenticate |
#[payload] |
|
Expected |
String |
the signature to validate |
x |
|
Algorithm |
String |
the algorithm used for signing |
PBKDF2withHmacSHA512 |
|
Password |
String |
the password used to sign |
x |
|
Password Salt |
String |
the password salt used to sign. Recommended minimum: 16 bytes of random data to ensure uniqueness and prevent rainbow table attacks. The salt is encoded in UTF-8 and cannot be modified after creation. |
||
Iteration Count |
Number |
the iteration count used to sign. Recommended minimum: 100,000 iterations to slow down brute-force attacks in modern hardware. |
0 |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Pgp Binary To Armored
<crypto:pgp-binary-to-armored>
Converts an encrypted PGP message or a PGP signature to an ASCII armored representation, suitable for plain text channels.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Content |
Any |
the content to convert |
#[payload] |
|
Streaming Strategy |
|
Configures how Mule processes streams. Repeatable streams are the default behavior. |
||
Target Variable |
String |
Name of the variable that storesoperation’s output will be placed |
||
Target Value |
String |
An expression to evaluate against the operation’s output and store the expression outcome in the target variable |
#[payload] |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Validate Checksum
<crypto:validate-checksum>
Validate the checksum of the stream against an expected checksum.
Parameters
Name | Type | Description | Default Value | Required |
---|---|---|---|---|
Algorithm |
Enumeration, one of:
|
the checksum algorithm |
SHA_512 |
|
Value |
Any |
the content for calculating the checksum |
#[payload] |
|
Expected |
String |
the expected checksum as an hexadecimal string |
x |
|
Error Mappings |
Array of Error Mapping |
Set of error mappings |
Types
Expiration Policy
Configures an expiration policy strategy.
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Max Idle Time |
Number |
Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
||
Time Unit |
Enumeration, one of:
|
Time unit for the Max Idle Time field. |
Repeatable In Memory Stream
Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Initial Buffer Size |
Number |
Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max In Memory Size value. |
||
Buffer Size Increment |
Number |
This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full. |
||
Max Buffer Size |
Number |
Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a |
||
Buffer Unit |
Enumeration, one of:
|
Unit for the Initial Buffer Size, Buffer Size Increment, and Buffer Unit fields. |
Repeatable File Store Stream
Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
In Memory Size |
Number |
Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:
|
||
Buffer Unit |
Enumeration, one of:
|
Unit for the In Memory Size field. |
Error Mapping
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Source |
Enumeration, one of:
|
|||
Target |
String |
x |
Pgp Key Selection
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Key Id |
String |
The key ID, as defined in the JCE configuration. |
||
Pgp Key Info |
One of: |
An inline key definition. |
Pgp Asymmetric Key Info
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Key Id |
String |
Internal key ID for referencing from operations. |
x |
|
Key Pair Identifier |
A way to identify the key inside the keystore. |
x |
||
Passphrase |
String |
The password for unlocking the secret part of the key. |
Pgp Asymmetric Key Identifier
Field | Type | Description | Default Value | Required |
---|---|---|---|---|
Fingerprint |
String |
|||
Principal |
String |