Specifying the Block Encryption Algorithm
By default, the message itself is encrypted with $$$SOAPWSaes128cbc. You can specify a different algorithm. To do so, set the Algorithm property of your instance of %XML.Security.EncryptedKeyOpens in a new tab.
Possible values are $$$SOAPWSaes128cbc (the default), $$$SOAPWSaes192cbc and $$$SOAPWSaes256cbc
For example:
set enckey.Algorithm=$$$SOAPWSaes256cbc
This information is also applicable when you create an <EncryptedKey> in other scenarios, as described elsewhere.