Horde_Pgp_Element_Text
extends Horde_Pgp_Element
in package
Non-armored text (i.e. literal data) appearing in PGP armored data.
Tags
Table of Contents
- $armorVersion : string
- Armor header identifying the current software version.
- $headers : array<string|int, mixed>
- Armor headers.
- $message : OpenPGP_Message
- Message object.
- $_armor : string
- Armor identifier.
- __construct() : mixed
- Constructor.
- __toString() : mixed
- create() : Horde_Pgp_Element
- Creates the element from the first found armor part of the class type in the armored input data.
Properties
$armorVersion
Armor header identifying the current software version.
public
string
$armorVersion
= 'Horde_Pgp Library (http://www.horde.org/)'
$headers
Armor headers.
public
array<string|int, mixed>
$headers
$message
Message object.
public
OpenPGP_Message
$message
$_armor
Armor identifier.
protected
string
$_armor
= ''
Methods
__construct()
Constructor.
public
__construct(mixed $data[, array<string|int, mixed> $headers = array() ]) : mixed
Parameters
- $data : mixed
-
Data of the part. Either raw PGP data or a OpenPGP_Message object.
- $headers : array<string|int, mixed> = array()
-
Header array.
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —create()
Creates the element from the first found armor part of the class type in the armored input data.
public
static create(mixed $data) : Horde_Pgp_Element
Parameters
- $data : mixed
-
Armored PGP data.
Return values
Horde_Pgp_Element —PGP element object.