Preparing the WS Consumer AS Java for Encryption 
For the consumer system to be able to send encrypted messages to the provider system, it requires the public key of the provider system to encrypt the messages. The public key of the provider system is contained in its encryption certificate.
The option for using signatures and encryption is selected in the consumer system.
You have the encryption certificate for the provider system.
More information, if the provider system is an AS ABAP: Exporting an Encryption Certificate for the WS Provider AS ABAP
More information, if the provider system is an AS Java: Exporting an Encryption Certificate for the WS Provider AS Java
Import the encryption certificate of the provider system in the consumer system’s keystore view WebServiceSecurity _Certs.
Select the encryption certificate that you have just imported.