Sample code for 30+ languages & platforms
Perl

PFX/P12 Examples for Chilkat2 Perl