Apologies if this is a stupid question but - can you tell my where I can access the exception TYPE?
For example: I try to decrypt a message not intended for my private key, the library throws an exception (with message):
Decryption of data encrypted using KEY-ID(s) : 4153E840 failed, no matching key was found in the KeyStore.
How can I access the Exception Type to check against in the catch block?
Thank you in advance!
Jonny