Class Tools.PEM.Msg

Description

Disassembles PGP and PEM style messages with parts separated by "-----BEGIN FOO-----" and "-----END FOO-----".


Variable final_text

string Tools.PEM.Msg.final_text

Description

Contains any text following the PEM message.


Variable initial_text

string Tools.PEM.Msg.initial_text

Description

Contains any text preceeding the PEM message.


Variable parts

mapping(string:EncapsulatedMsg) Tools.PEM.Msg.parts

Description

The decoded PEM message, as an array of EncapsulatedMsg objects indexed by message name, such as "CERTIFICATE".


Method create

Tools.PEM.Msg Tools.PEM.Msg(string s)

Description

Creates a decoded PEM message

Parameter s

A string containing a PEM encoded message to be decoded.