Convert::X509::minipkcs7 - parse pkcs7 messages just to get only SN list of recipients/signers and correspondent crypto-algorithmes
use Convert::X509::minipkcs7; use Data::Dumper; open(F,'<', $ARGV[0]) or die; binmode(F); local $/; my $data=Convert::X509::minipkcs7->new(<F>); print Dumper($data->snlist());
To install Convert::X509, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::X509
CPAN shell
perl -MCPAN -e shell install Convert::X509
For more information on module installation, please visit the detailed CPAN module installation guide.