Class IMP_MIME_Viewer_pgp

Description

The IMP_MIME_Viewer_pgp class allows viewing/decrypting of PGP formatted messages. This class implements RFC 3156.

This class handles the following MIME types: application/pgp-encryption application/pgp-keys application/pgp-signature

This class may add the following parameters to the URL: 'pgp_verify_msg' -- Do verification of PGP signed data. 'rawpgpkey' -- Display the PGP Public Key in raw, text format

$Horde: imp/lib/MIME/Viewer/pgp.php,v 1.96.6.27 2011-01-13 19:23:13 slusarz Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

Located in /lib/MIME/Viewer/pgp.php (line 28)

MIME_Viewer
   |
   --IMP_MIME_Viewer_pgp
Variable Summary
 string $_address
 MIME_Contents $_contents
 string $_icon
 array $_status
 string $_type
Method Summary
 string getType ()
 string render (array $params)
 void _initStatus ( $src, [ $alt = ''])
 void _outputStatus ([ $printable = true])
Variables
string $_address (line 42)

The address of the sender.

MIME_Contents $_contents = null (line 49)

Pointer to the MIME_Contents item.

string $_icon = null (line 56)

Classwide cache for icons for status messages.

IMP_PGP $_imp_pgp (line 35)

IMP_PGP object.

array $_status = array() (line 63)

Classwide cache for status messages.

string $_type = 'text/html' (line 70)

The MIME content-type of this part.

Methods
getType (line 135)

Return the content-type of the output.

  • return: The MIME content type of the output.
string getType ()
render (line 80)

Render out the currently set contents.

  • return: The rendered text in HTML.
string render (array $params)
  • array $params: An array with a reference to a MIME_Contents object.
_initStatus (line 490)
void _initStatus ( $src, [ $alt = ''])
  • $src
  • $alt
_outputStatus (line 497)
void _outputStatus ([ $printable = true])
  • $printable

Documentation generated on Sun, 30 Jan 2011 05:28:15 +0000 by phpDocumentor 1.4.3