Message Encryption Options Supported in SoapUI

This section describes message encryption options supported in SoapUI that allows you to specify how to identify sender's public key used to encrypt the secret key, which symmetric algorithm to use to encrypt message, which parts of the SOAP message to encrypt, etc.

SoapUI also allows us to encrypt SOAP messages with multiple options. These options are listed on the "Encryption" WS-Security configuration entry section:

Keystore - Specifies which Java keystore file that contains the receiver's X.509 certificate.

Alias - Specifies which certificate entry in the keystore file is the receiver's X.509 certificate.

Password - Note needed, since there is no password protection for any pure X.509 certificate entry in a Java keystore file.

Key Identifier Type - Specifies how to identify the public key that is used to encrypt randomly generated secret key.

Embedded Key Name - Related to the "Embedded KeyInfo" option for "Key Identifier Type".

Embedded Key Password - Related to the "Embedded KeyInfo" option for "Key Identifier Type".

Symmetric Encoding Algorithm - Specifies which algorithm to use when encrypting the SOAP message with a random secret key.

Key Encryption Algorithm - Specifies which algorithm to use when encrypt the randomly generated secret key. The selected algorithm needs to be compatible with the type of public key in the receiver's X.509 certificate.

Create Encrypted Key - Indicates whether to encrypt the symmetric key into an EncryptedKey or not.

Parts - Specifies a list of parts (elements) of the SOAP message to be selected for encryption. Each part is defined by the following criteria. If a single part matches multiple elements, all elements are encrypted independently. If not part is defined, the soapenv:Body element will be signed by default.

The following picture shows you WS-Security message encryption options supported in SoapUI:
SoapUI - WS-Security Message Encryption Options

Last update: 2014.

Table of Contents

 About This Book

 Introduction to Web Service

 Introduction to SOAP (Simple Object Access Protocol)

 SOAP Message Structure

 SOAP Message Transmission and Processing

 SOAP Data Model

 SOAP Encoding

 SOAP RPC Presentation

 SOAP Properties Model

 SOAP Message Exchange Patterns

 SOAP HTTP Binding

 SOAP Perl Implementations

 SOAP PHP Implementations

 SOAP Java Implementations

 Perl SOAP::Lite - SOAP Server-Client Communication Module

 Perl Socket Test Program for HTTP and SOAP

 Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service

 Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services

 Perl SOAP::Lite 0.710 for WSDL

 PHP SOAP Extension Client Programs

 PHP SOAP Extension Server Programs

 Java Socket and HttpURLConnection for SOAP

 SAAJ - SOAP with Attachments API for Java

 SoapUI - SOAP Web Service Testing Tool

 WS-Security - SOAP Message Security Extension

WS-Security X.509 Certificate Token

 What Is WS-Security X.509 Certificate Token Profile?

 What Is XML Signature Syntax and Processing?

 Generating a Self-Signed Certificate with "keytool"

 SoapUI Configuration for Messaging Signing

 Generating Digital Signature with SoapUI

 Validating ds:Signature with X.509 Certificate

 Digital Signature Options Supported in SoapUI

 What Is XML Encryption Syntax and Processing?

 SoapUI Configuration for Messaging Encryption

 "not an RSA key" - Encryption Failed in SoapUI

 Encryption using RSA Public Key with SoapUI

 2-Step Message Encryption - Symmetric and RSA

 Decrypting Encrypted SOAP Message

Message Encryption Options Supported in SoapUI

 Web Services and SOAP Terminology

 References

 PDF Printing Version