1. Pushparaj Viswanathan
  2. PowerBuilder
  3. Thursday, 02 May 2019

Hi All,

I am trying to create JWT using PowerBuilder, using CrypterObject Object when I am doing the Encryption, Decryption and Sign using public and private keys which are generated using AsymmetricGenerateKey is working fine. Whereas my requirement is to use these keys provided by other party. When I tried to do this I am able to encrypt using the public key whereas Decrypt and Sign are throwing the error "Invalid 'privKey' in AsymmetricDecrypt." I have tried with creating both Async and Sync type keys with RSA 1025 algorithm. Following is the sample URL to generate keys.


URL to generate sample Keys:



Following Demo PB App I used for this and I just replaced the Public and Private Keys taken from above URL.


Can someone please help me on this issue. Please let me know if more details needed on this.



There are no replies made for this question yet.
However, you are not allowed to reply to this question.