Convert::PEM

Description

Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files. SYNOPSIS use Convert::PEM; my $pem = Convert::PEM->new( Name => "DSA PRIVATE KEY", ASN => qq( DSAPrivateKey SEQUENCE { version INTEGER, p INTEGER, q INTEGER, g INTEGER, pub_key INTEGER, priv_key INTEGER } )); my $pkey = $pem->read( Filename => $keyfile, Password => $pwd ); $pem->write( Content => $pkey, Password => $pwd, Filename => $keyfile ); Convert::PEM reads and writes PEM files containing ASN.1-encoded objects. The files can optionally be encrypted using a symmetric cipher algorithm, such as 3DES. An unencrypted PEM file might look something like this: -----BEGIN DH PARAMETERS----- MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM= -----END DH PARAMETERS----- The string beginning MB4C... is the Base64-encoded, ASN.1-encoded "object." An encrypted file would have headers describing the type of encryption used, and the initialization vector: -----BEGIN DH PARAMETERS----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,C814158661DC1449 AFAZFbnQNrGjZJ/ZemdVSoZa3HWujxZuvBHzHNoesxeyqqidFvnydA== -----END DH PARAMETERS----- The two headers (Proc-Type and DEK-Info) indicate information about the type of encryption used, and the string starting with AFAZ... is the Base64-encoded, encrypted, ASN.1-encoded contents of this "object." The initialization vector (C814158661DC1449) is chosen randomly..

Pem - Integer - Parameters - Perl Module - Encrypted - Read Write - Perl - Module - Dh - Convertpem - Libraries

Published By:Benjamin Trott

License Type:Freeware

Date Added:22 October, 2010

Version:0.07

Price:Free

Downloads:12

Size:20.5 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Convert::PEM::CBC is a Perl module for Cipher Block Chaining Mode implementation.

DateAug 19, 2010

AuthorConvert::PEM Team

Size20.5 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Convert::BER is a Perl module for ASN.1 Basic Encoding Rules. SYNOPSIS use Convert::BER; $ber = new Convert::BER; $ber->encode( INTEGER => 1, SEQUENCE => [ BOOLEAN => 0, STRING => "Hello", ], REAL => 3.

DateAug 13, 2010

AuthorGraham Barr

Size25.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Convert::ASN1 is an ASN.1 Encode/Decode library.

DateAug 12, 2010

AuthorGraham Barr

Size61.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

This Tcl script may be used to extract MIB, PIB and ASN.1 modules from an RFC document. Unlike most extractors, this script is smart enough to recognize ASN.

DateAug 18, 2010

AuthorMuonics

Size3.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Bio::Tools::Run::PiseApplication::fasta is a Bioperl class for sequence database search.

DateAug 3, 2010

AuthorCatherine Letondal

Size82.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming