Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" },
"xmlCipherAlgorithm": { "index": 1, "kind": "attribute", "displayName": "Xml Cipher Algorithm", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "TRIPLEDES", "AES_128", "AES_128_GCM", "AES_192", "AES_192_GCM", "AES_256", "AES_256_GCM", "SEED_128", "CAMELLIA_128", "CAMELLIA_192", "CAMELLIA_256" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AES-256-GCM", "description": "The cipher algorithm to be used for encryption\/decryption of the XML message content." },
"xmlCipherAlgorithm": { "index": 1, "kind": "attribute", "displayName": "Xml Cipher Algorithm", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "TRIPLEDES", "AES_128", "AES_128_GCM", "AES_192", "AES_192_GCM", "AES_256", "AES_256_GCM", "SEED_128", "CAMELLIA_128", "CAMELLIA_192", "CAMELLIA_256" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AES_256_GCM", "description": "The cipher algorithm to be used for encryption\/decryption of the XML message content." },
"passPhrase": { "index": 2, "kind": "attribute", "displayName": "Pass Phrase", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "A String used as passPhrase to encrypt\/decrypt content." },
"passPhraseByte": { "index": 3, "kind": "attribute", "displayName": "Pass Phrase Byte", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "byte[]", "deprecated": false, "autowired": false, "secret": false, "description": "A byte used as passPhrase to encrypt\/decrypt content." },
"secureTag": { "index": 4, "kind": "attribute", "displayName": "Secure Tag", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The XPath reference to the XML Element selected for encryption\/decryption. If no tag is specified, the entire payload is encrypted\/decrypted." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"type": "java.lang.String",
"description": "The cipher algorithm to be used for encryption\/decryption of the XML message content.",
"sourceType": "org.apache.camel.dataformat.xmlsecurity.springboot.XMLSecurityDataFormatConfiguration",
"defaultValue": "AES-256-GCM"
"defaultValue": "AES_256_GCM"
}
],
"hints": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class XMLSecurityDataFormatConfiguration
* The cipher algorithm to be used for encryption/decryption of the XML
* message content.
*/
private String xmlCipherAlgorithm = "AES-256-GCM";
private String xmlCipherAlgorithm = "AES_256_GCM";
/**
* A String used as passPhrase to encrypt/decrypt content.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ The starter supports 63 options, which are listed below.
| camel.dataformat.xml-security.recipient-key-alias | The key alias to be used when retrieving the recipient's public or private key from a KeyStore when performing asymmetric key encryption or decryption. | | String
| camel.dataformat.xml-security.secure-tag | The XPath reference to the XML Element selected for encryption/decryption. If no tag is specified, the entire payload is encrypted/decrypted. | | String
| camel.dataformat.xml-security.secure-tag-contents | A boolean value to specify whether the XML Element is to be encrypted or the contents of the XML Element. false = Element Level, true = Element Content Level. | false | Boolean
| camel.dataformat.xml-security.xml-cipher-algorithm | The cipher algorithm to be used for encryption/decryption of the XML message content. | AES-256-GCM | String
| camel.dataformat.xml-security.xml-cipher-algorithm | The cipher algorithm to be used for encryption/decryption of the XML message content. | AES_256_GCM | String
|===