PHP Class IMP_Mime_Viewer_Pgp, horde

This class handles the following MIME types: - application/pgp-encrypted (in multipart/encrypted part) - application/pgp-keys - application/pgp-signature (in multipart/signed part) This driver may add the following parameters to the URL: - pgp_verify_msg: (boolean) Do verification of PGP signed data? - pgp_view_key: (boolean) View PGP key details?
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_capability array This driver's display capabilities.
$_metadata array Metadata for the current viewer/data.
$_sender Horde_Mail_Rfc822_Address The address of the sender.

Méthodes publiques

Méthode Description
canRender ( string $mode ) : boolean Can this driver render the data?

Méthodes protégées

Méthode Description
_getEmbeddedMimeParts ( ) : mixed If this MIME part can contain embedded MIME part(s), and those part(s) exist, return a representation of that data.
_getSender ( ) : Horde_Mail_Rfc822_Address Determine the address of the sender.
_getSymmetricID ( ) : string Generates the symmetric ID for this message.
_outputPGPKey ( ) : string Generates output for 'application/pgp-keys' MIME_Parts.
_outputPGPSigned ( ) : string Generates HTML output for 'multipart/signed' MIME parts.
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.
_renderRaw ( ) : array Return the full rendered version of the Horde_Mime_Part object.

Method Details

_getEmbeddedMimeParts() protected méthode

If this MIME part can contain embedded MIME part(s), and those part(s) exist, return a representation of that data.
protected _getEmbeddedMimeParts ( ) : mixed
Résultat mixed A Horde_Mime_Part object representing the embedded data. Returns null if no embedded MIME part(s) exist.

_getSender() protected méthode

Determine the address of the sender.
protected _getSender ( ) : Horde_Mail_Rfc822_Address
Résultat Horde_Mail_Rfc822_Address The from address.

_getSymmetricID() protected méthode

Generates the symmetric ID for this message.
protected _getSymmetricID ( ) : string
Résultat string Symmetric ID.

_outputPGPKey() protected méthode

Generates output for 'application/pgp-keys' MIME_Parts.
protected _outputPGPKey ( ) : string
Résultat string The HTML output.

_outputPGPSigned() protected méthode

Generates HTML output for 'multipart/signed' MIME parts.
protected _outputPGPSigned ( ) : string
Résultat string The HTML output.

_render() protected méthode

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
Résultat array See parent::render().

_renderInline() protected méthode

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
Résultat array See parent::render().

_renderRaw() protected méthode

Return the full rendered version of the Horde_Mime_Part object.
protected _renderRaw ( ) : array
Résultat array See parent::render().

canRender() public méthode

Can this driver render the data?
public canRender ( string $mode ) : boolean
$mode string See parent::canRender().
Résultat boolean See parent::canRender().

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
Résultat array

$_metadata protected_oe property

Metadata for the current viewer/data.
protected array $_metadata
Résultat array

$_sender protected_oe property

The address of the sender.
protected Horde_Mail_Rfc822_Address $_sender
Résultat Horde_Mail_Rfc822_Address