Sample code for 30+ languages & platforms
Perl

JSON Web Signatures (JWS) Examples for Chilkat2 Perl