The XML Encryption / Decryption filter encrypts or decrypts XML messages using a cryptography algorithm. It encrypts or decrypts whole XML message or selective elements. The key encryption can be optionally used. The EncryptedData element has the following structure:
<xenc:EncryptedData Id?> <xenc:EncryptionMethod/>? <ds:KeyInfo> <xenc:EncryptedKey/>? <ds:KeyName/>? </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue/>? </xenc:CipherData> </xenc:EncryptedData>
Configuration Properties
Property |
Description |
---|---|
Maximum Concurrency |
The maximum level of concurrency for this filter. A setting of |
Encrypt or Decrypt |
Identifies whether an XML message processed by this filter is to be encrypted or decrypted:
|
Encrypted Part |
Options: Only available if Encrypt or Decrypt is set to |
Encrypted Element |
The XPath of the selective element to be encrypted / decrypted. Only available if Encrypted Part is set to |
XML Data Cipher |
The name of a symmetric cryptography to be used to encrypt the content of the XML. Available algorithms are:
Only available if the Encrypt or Decrypt field is set to Encrypt. |
Canonicalization Algorithm |
The name of the canonicalization algorithm to be used for serializing before the XML content is encrypted. Available algorithms are:
Only available if the Encrypt or Decrypt field is set to |
XML Data Encryption Key |
The secret key to be used for encrypting / decrypting the XML content. Select the key displayed in the Select AES Symmetric Key dialog:
You can generate a new key using the Certificate and Key Manager. Refer to Generating a Symmetric Key for details. |
Key Cipher |
The name of the cipher to be used for encrypting the XML data encryption key. If None is selected then the key encryption will not be applied. Available algorithms are:
Only available if Encrypt or Decrypt is set to Encrypt. |
Key Encryption Key |
The certificate which contains the public key to be used for encrypting the XML content encryption key. Only available if Encrypt or Decrypt is set to |
Key Decryption Key |
The private key to be used for decrypting the XMLencryption key. Only available if Encrypt or Decrypt is set to |
Enclose Encrypted Key |
Only available if Encrypt or Decrypt is set to |
Namespaces |
Determines whether namespaces should be removed from the generated XML:
|