PHP Class Horde_Pgp_Element, horde

Author: Michael Slusarz ([email protected])
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$armorVersion string Armor header identifying the current software version.
$headers array Armor headers.
$message OpenPGP_Message Message object.

Protected Properties

Property Type Description
$_armor string Armor identifier.

Public Methods

Method Description
__construct ( mixed $data, array $headers = [] ) Constructor.
__toString ( )
create ( mixed $data ) : Horde_Pgp_Element Creates the element from the first found armor part of the class type in the armored input data.

Method Details

__construct() public method

Constructor.
public __construct ( mixed $data, array $headers = [] )
$data mixed Data of the part. Either raw PGP data or a OpenPGP_Message object.
$headers array Header array.

__toString() public method

public __toString ( )

create() public static method

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
$data mixed Armored PGP data.
return Horde_Pgp_Element PGP element object.

Property Details

$_armor protected_oe property

Armor identifier.
protected string $_armor
return string

$armorVersion public_oe property

Armor header identifying the current software version.
public string $armorVersion
return string

$headers public_oe property

Armor headers.
public array $headers
return array

$message public_oe property

Message object.
public OpenPGP_Message $message
return OpenPGP_Message