Encoding::BER::DER - Perl module for encoding/decoding data using ASN.1 Distinguished Encoding Rules (DER)
use Encoding::BER::DER; my $enc = Encoding::BER::DER->new(); my $der = $enc->encode( $data ); my $xyz = $enc->decode( $der );
Items with a length larger than can fit in 32 bits, will be encoded using the indefinite form.
Encoding::BER, Encoding::BER::CER
Jeff Weisberg - http://www.tcp4me.com/
To install Encoding::BER, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Encoding::BER
CPAN shell
perl -MCPAN -e shell install Encoding::BER
For more information on module installation, please visit the detailed CPAN module installation guide.