Documentation

Horde_Pgp_Element_Message extends Horde_Pgp_Element
in package

PGP element: signed, encrypted, or compressed file.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2015-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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.
isEncryptedSymmetrically()  : mixed

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 = 'MESSAGE'

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.

isEncryptedSymmetrically()

public isEncryptedSymmetrically() : mixed
Return values
mixed

Search results