Parameter | Value | ||
sign | Specify if the message will be signed and which parts of the message will be signed. When you use your own policy file for security settings, the values of the sign parameters are ignored. Configure the following parameters: | ||
Parameter | Value | ||
enableSign | Whether signing is enabled. Specify one of the following: true—Signing is enabled. false—Signing is disabled. This is the default. | ||
certificateId | Optional. The certificate ID to use for signing or verifying a signature for a message. The partner certificate ID must be used while receiving a message. You can view the enterprise certificateId for the configured certificates in the My webMethods Server: Partner Profiles > Certificates > Certificate ID column. | ||
element | The XPath of each element that needs to be signed. For example, to sign the Timestamp element, add /soapenv:Envelope/soapenv:Header/Messaging/UserMessage/MessageInfo/Timestamp. Click Add or Insert to configure multiple element paths that need to be signed. Specify: | ||
attachments | Whether signing of the attachments for a message is enabled. Specify one of the following: true—Signing of the attachments of a message is enabled. false—Signing of the attachments of a message is disabled. This is the default. | ||
signReceipt | Whether signing of the receipt is enabled. Specify one of the following: true—Signing of the receipt is enabled. false—Signing of the receipt is disabled. This is the default. Note: If enableSign is set to false and signReceipt is set to true, the receipt will not be signed. | ||
receiptCertificateID | The certificate ID to use for signing the receipt. | ||
signReceiptBody | Whether signing the receipt body is enabled. Specify one of the following: true—Signing of the receipt body is enabled. false—Signing of the receipt body is disabled. This is the default. Note: This parameter can be enabled only if signReceipt is enabled. | ||
Parameter | Value | ||
element | The path to the element that needs to be signed. | ||
encrypt | Whether the message will be encrypted and which parts of the message will be encrypted. Note: When you use your own policy file for security settings, the values of the encrypt parameters are ignored. | ||
Parameter | Value | ||
enableEncrypt | Whether encryption is enabled. Specify one of the following: true—Encryption is enabled. false—Encryption is disabled. This is the default. | ||
certificateId | The certificate ID to use for encrypting or decrypting a message. The partner certificate ID must be used for encryption while sending a message. The enterprise certificate ID must be used for decryption. You can view the enterprise certificateId for the configured certificates in the My webMethods Server: Partner Profiles > Certificates > Certificate ID column. | ||
element | The XPath of each element that needs to be encrypted. For example, to encrypt the Timestamp element, add /soapenv:Envelope/soapenv:Header/Messaging/UserMessage/MessageInfo/Timestamp. Click Add and configure the following parameters: | ||
Parameter | Value | ||
element | Each element to be encrypted. Click Add or Insert to add elements to be encrypted. | ||
attachments | Whether encrypting the attachments of a message is enabled. Specify one of the following: true—Encrypting of the attachments of a message is enabled. false—Encrypting of the attachments of a message is disabled. This is the default. | ||
encryptBody | Whether to encrypt the body of a message or not. Specify one of the following: true—Enables encryption of the message body. This is the default. false—Disables encryption of the message body. | ||
algorithmSuite | Specifies the algorithm suite to be used for signing and encrypting. For more information about algorithm suites, see
Using Algorithm Suites. |