PHP Class Horde_Pgp_Element, horde

Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$armorVersion string Armor header identifying the current software version.
$headers array Armor headers.
$message OpenPGP_Message Message object.

Protected Properties

Свойство Type Description
$_armor string Armor identifier.

Méthodes publiques

Méthode 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 méthode

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 méthode

public __toString ( )

create() public static méthode

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.
Résultat Horde_Pgp_Element PGP element object.

Property Details

$_armor protected_oe property

Armor identifier.
protected string $_armor
Résultat string

$armorVersion public_oe property

Armor header identifying the current software version.
public string $armorVersion
Résultat string

$headers public_oe property

Armor headers.
public array $headers
Résultat array

$message public_oe property

Message object.
public OpenPGP_Message $message
Résultat OpenPGP_Message