Can Oracle 21 use pkdecrypt to decrypt text encrypted using RSA-OAEP-256?
I need to decrypt an encrypted info using a web token:
{
"alg": "RSA-OAEP-256"
, "d": "..., "dp": "..., "dq": "...
, "e": "AQAB","key_ops":["unwrapKey"]
, "kid": "...
, "kty": "RSA"
, "n": ".., "p": ".., "q": ".., "qi": "...
}
In version oracle database 21 a routine DBMS_CRYPTO.PKDECRYPT is provided for decryption.
Can I use this function to decrypt information which was encrypted using the
RSA-OAEP-256 by means of this function.
and if so, how is the prv_key structured or what information do I have to enter here
for the decryption?
Thank you very much for your help.
With kind regards