[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/lib/MIME/Viewer/ -> pgp.php (sommaire)

(pas de description)

Poids: 462 lignes (17 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 lib/Crypt/PGP.php

Définit 1 class

IMP_MIME_Viewer_pgp:: (9 méthodes):
  render()
  getType()
  _outputPGPKey()
  _outputPGPSigned()
  _outputPGPEncrypted()
  _outputPGPSignatureTest()
  _signedOutput()
  _initStatus()
  _outputStatus()


Classe: IMP_MIME_Viewer_pgp  - X-Ref

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:
'rawpgpkey' -- Display the PGP Public Key in raw, text format

$Horde: imp/lib/MIME/Viewer/pgp.php,v 1.96.6.15 2007/03/09 11:43:18 jan Exp $

Copyright 2002-2007 Michael Slusarz <slusarz@bigworm.colorado.edu>

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

render($params)   X-Ref
Render out the currently set contents.

param: array $params  An array with a reference to a MIME_Contents
return: string  The rendered text in HTML.

getType()   X-Ref
Return the content-type of the output.

return: string  The MIME content type of the output.

_outputPGPKey()   X-Ref
Generates HTML output for 'application/pgp-keys' MIME_Parts..

return: string  The HTML output.

_outputPGPSigned()   X-Ref
Generates HTML output for 'multipart/signed' and
'application/pgp-signature' MIME_Parts.

return: string  The HTML output.

_outputPGPEncrypted()   X-Ref
Generates HTML output for 'multipart/encrypted' and
'application/pgp-encrypted' MIME_Parts.

return: string  The HTML output.

_outputPGPSignatureTest($result)   X-Ref
Generates HTML output for the PGP signature test.

param: string $result  Result string of the PGP output concerning the
return: string  The HTML output.

_signedOutput($result)   X-Ref
Output signed message status.

param: string $result  The signature result.
return: string  HTML output.

_initStatus($src, $alt = '')   X-Ref
Pas de description

_outputStatus($printable = true)   X-Ref
Pas de description



Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics