\Horde_Pgp_Element_Text

Non-armored text (i.e. literal data) appearing in PGP armored data.

Summary

Methods
Properties
Constants
create()
__construct()
__toString()
$armorVersion
$headers
$message
No constants found
No protected methods found
$_armor
N/A
No private methods found
No private properties found
N/A

Properties

$armorVersion

$armorVersion : string

Armor header identifying the current software version.

Type

string

$headers

$headers : array

Armor headers.

Type

array

$message

$message : \OpenPGP_Message

Message object.

Type

\OpenPGP_Message

$_armor

$_armor : string

Armor identifier.

Type

string

Methods

create()

create(mixed  $data) : \Horde_Pgp_Element

Creates the element from the first found armor part of the class type in the armored input data.

Parameters

mixed $data

Armored PGP data.

Returns

\Horde_Pgp_Element

PGP element object.

__construct()

__construct(mixed  $data, array  $headers = array()) 

Constructor.

Parameters

mixed $data

Data of the part. Either raw PGP data or a OpenPGP_Message object.

array $headers

Header array.

__toString()

__toString()