Signing and Then Encrypting with Asymmetric Keys Signing and Then Encrypting with Asymmetric Keys To sign and then encrypt (when using asymmetric keys), do the following: Follow the steps in Adding a Digital Signature. Follow the steps in Encrypting Security Header Elements.Or follow the steps in Encrypting the SOAP Body.