\Horde_Pgp_Element_Signature

PGP element: signatures.

Summary

Methods
Properties
Constants
create()
__construct()
__toString()
getSignaturePacket()
getSignersKeyId()
$armorVersion
$headers
$message
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

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

getSignaturePacket()

getSignaturePacket() : \OpenPGP_SignaturePacket

Return the signature packet object.

Returns

\OpenPGP_SignaturePacket —

Signature packet object.

getSignersKeyId()

getSignersKeyId() : string

Return the key ID used for the signature.

Returns

string —

Key ID.