Validating JWT (Access Token) using Salesforce’s Apex

Hello Community,

Anyone here has done JWT validation in Salesforce Apex ? Cannot use third party libraries to do the JWT Signature Validation. Please share some info if anyone implemented validation of the JWT Signature in Salesforce Apex.

Thank you