\Horde_Pgp_Element_SignedMessage

PGP armor part: signed message.

Summary

Methods
Properties
Constants
create()
__construct()
__toString()
dashUnescapeText()
dashEscapeText()
__get()
$armorVersion
$headers
$message
$signature
$text
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

$signature

$signature : \Horde_Pgp_Element_Signature

Signature element.

Type

\Horde_Pgp_Element_Signature

$text

$text : \Horde_Pgp_Element_Text

Literal text element.

Type

\Horde_Pgp_Element_Text

$_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() 

dashUnescapeText()

dashUnescapeText(string  $text) : string

Returns text after reversing any dash-escaping (RFC 4880 [7.1]) previously done on it.

Parameters

string $text

Escaped text.

Returns

string —

Unescaped text.

dashEscapeText()

dashEscapeText(string  $text) : string

Returns the normalized & dash-escaped text (RFC 4880 [7.1]) of the cleartext signed message.

Parameters

string $text

Unescaped text.

Returns

string —

Escaped text.

__get()

__get(  $name) 

Parameters

$name