Sample code for 30+ languages & platforms
Perl

CAdES Examples for Chilkat2 Perl