/plugins/gpg/gpg_hook_functions.phpgpg_hook_functions.php ----------- GPG plugin hook functions file, included by setup.php.
Copyright (c) 2002-2005 Braverock Ventures Copyright (c) 2007 The NaSMail Project Licensed under the GNU GPL. For full terms see the file COPYING.
		
			include_once
			(SM_PATH.'plugins/gpg/gpg_functions.php')
			(line 18)
		
	
		
			include_once
			(SM_PATH.'functions/forms.php')
			(line 19)
		
	
		add_openpgp_header (line 888)
	This function adds the openpgp header to the outgoing message.
		gpg_check_sign_pgp_mime (line 628)
	Used to read a detached signature file of type applicatiion/pgp-signature
This function is called by the read_body hook (above)
		gpg_compose_row_do (line 942)
	This function adds a "Encrypt Now" and "GPG Sign" link to the "Compose" row during message composition.
		gpg_compose_send_do (line 719)
	This function is called by the main SM plugin_init (above) to initialize our compose_send hook functions
This is where the Encrypt on Send and Encrypt and Sign on Send functions go. $composeMessage is in second array key.
		gpg_decrypt_link (line 358)
	This function is called by the read_body hook (above)
Use to see if the message contains an encrypted body if the message contains encrypted text, display a link to the decrypt code.
		gpg_fetch_full_body (line 246)
	This function is called before gpg_check_sign and gpg_decrypt_link to retrieve the messge body for those functions
		gpg_get_message_body_imap (line 318)
	get the body of a given part of a message
		gpg_get_mime_header (line 334)
	download just the mime header from imap (note: this does not setup a MessageHeader class
		gpg_handle_signature_do (line 71)
	Hook function for application/gpg-signature attachments This function looks for the previous attachment and checks the signature against it. The resulting info is also placed in a session variable gpgverifyinfo
		gpg_identity_table_hook (line 27)
	Function to display possible gpg secret keys for user to select
		gpg_import_link (line 461)
	This function is called by the read_body hook (above)
Use to see if the message contains an encrypted body if the message contains encrypted text, display a link to the decrypt code.
		gpg_message_encrypt_and_sign (line 1169)
	Encrypts or signs messages
Currently signonly action is not finished. Attachments are not signed.
		gpg_openpgp_header (line 201)
	This function is called to parse whatever "openpgp:" headers are found in the message and to display add and respond links to those headers.
		gpg_optpage_register_block_do (line 909)
	This function formats and adds the plugin and its description to the Options screen.
		gpg_read_body_header_do (line 141)
	This function is called by setup.php, within a hook to initialize our read_body_header functions.
		gpg_strip_sign (line 585)
	This function strips a gpg signature from the text
Documentation generated on Sun, 22 Nov 2009 17:36:37 +0200 by phpDocumentor 1.4.3