JWT token Decode using Public Key

Hello Community, Hope everyone is doing great. I need small suggestion/help. how do I decode JWT token using JWT module. There is activity in JWT module which needs PublicKey (File)object as input. I have a Public Key which I can get using API call. I tried creating PublicKey (File)object by storing string to File document. but decode activity is failing : java.lang.RuntimeException: Could not determine public key specification. Any suggestions/leads/examples? Thanks.
0 answers