DataPower

 View Only
Expand all | Collapse all

Encrypting Data with consumer public cert

  • 1.  Encrypting Data with consumer public cert

    Posted Wed October 26, 2022 04:41 AM
    Edited by Sudheer Puvvada Wed October 26, 2022 08:01 AM
    Dear All,

    I have a requirement to encrypt PCI data with Asymmetric key(public key) shared by consumer and then consumer will decrypt using their private key. I have tried all the options using Encrypt/Decypt actions or extension functions. But it only allows me to create a random session key and encrypt the actual data with that session key, and encrypt the session key with the public key. Our client wants to direct encrypt with their public key.

    Please help me if there is any option to do this way.


    Thanks
    Sudheer

    ------------------------------
    Sudheer Puvvada
    ------------------------------


  • 2.  RE: Encrypting Data with consumer public cert

    IBM Champion
    Posted Wed October 26, 2022 09:45 AM
    This is the purpose of TLS, yes?   If the client wants to verify the data is coming from you, you can sign with their public key so they can verify on their end with the private key. 

    That is, why is it they don't trust TLS over the wire?

    ------------------------------
    Joseph Morgan
    ------------------------------