Documentation

Horde_Pgp_Element_Signature extends Horde_Pgp_Element
in package

PGP element: signatures.

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.
getSignaturePacket()  : OpenPGP_SignaturePacket
Return the signature packet object.
getSignersKeyId()  : string
Return the key ID used for the signature.

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

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.

getSignaturePacket()

Return the signature packet object.

public getSignaturePacket() : OpenPGP_SignaturePacket
Return values
OpenPGP_SignaturePacket

Signature packet object.

getSignersKeyId()

Return the key ID used for the signature.

public getSignersKeyId() : string
Return values
string

Key ID.

Search results