-
$gpgHomeDir
-
-
$gpg_exe
-
-
$gpg_options
-
-
$gpg_pipes
-
-
generateKey
-
This function generates a keypair
-
generateKey_nopipes
-
Generates new key without bidi execution functions
-
getErrorCode
-
Returns code of last error
-
getErrorDescription
-
Returns description of most recent error
-
getExportText
-
Exports a key defined by $fpr to ASCII Armored text.
-
getKey
-
Retreives a key from the keyring
-
getKeyIndexFromFingerprint
-
Retreives a fingerprint based on a key id
-
getKeyMap_chunked
-
Returns the map of keys, chunked in to chunks of size <= $len
-
getKeys
-
Retreives keys from gpg if no keys have been loaded
-
get_email_addr
-
Retrieves email address for the first or active uid on the key
-
get_email_extra
-
Retrieves extra information for the first or active uid on the key
-
get_email_name
-
Retrieves name for the first or active uid on the key
-
get_fpr
-
Returns a string containing the formatted fingerprint for the key
-
GnuPG
-
This is the main class to use for GPG functions and data
-
GnuPGkey
-
This class contains information about a key and a function to output as an array
-
GnuPGkey
-
Constructor
-
GnuPGsig
-
Constructor
-
GnuPGsig
-
class GnuPGsig
-
GnuPGSignature
-
Constructor, takes two types of parameters, either an array or a string
-
GnuPGSignature
-
class GnuPGsig
-
GnuPGuid
-
class GnuPGuid
-
GnuPGuid
-
Constructor
-
GNUPG_HASH_MD5
-
-
GNUPG_HASH_RMD160
-
-
GNUPG_HASH_SHA1
-
-
GNUPG_HASH_SHA256
-
-
GNUPG_HASH_SHA384
-
-
GNUPG_HASH_SHA512
-
-
GNUPG_HASH_TIGER
-
-
GNUPG_PUBKEY_DSA
-
-
GNUPG_PUBKEY_ELGAMAL
-
-
GNUPG_PUBKEY_ELGAMAL_E
-
-
GNUPG_PUBKEY_RSA
-
-
GNUPG_PUBKEY_RSA_E
-
-
GNUPG_PUBKEY_RSA_S
-
-
GNUPG_TRUST_EXPIRED
-
-
GNUPG_TRUST_FULL
-
-
GNUPG_TRUST_MARGINAL
-
-
GNUPG_TRUST_NONE
-
-
GNUPG_TRUST_REVOKED
-
-
GNUPG_TRUST_ULTIMATE
-
-
GNUPG_TRUST_UNKNOWN
-
-
GPGSTDERR
-
-
GPGSTDIN
-
-
GPGSTDOUT
-
-
gpg_add_help_link
-
Create an HTML TAG Link to display help files This will only create the first half of the A Tag pair
-
gpg_add_help_tag
-
Creates help popup tags
-
gpg_add_navigation_tags
-
Adds hidden html tags with navigation information
-
gpg_add_navigation_urls
-
Adds navigation params to url
-
gpg_add_system_keyring
-
Adds system trust arguments to gpg execution parameters
-
gpg_check_sign_pgp_mime
-
Used to read a detached signature file of type applicatiion/pgp-signature
-
gpg_clean_body
-
Add another =\n sign when necessary in the ASCII Armor Data to clean up problems sometimes seen in messages from commercial PGP
-
gpg_clear_cached_passphrase
-
Clears the Cached Passphrase from secure storage Overwrite first with gibberish, just in case.
-
gpg_compose_bottom
-
This function is called by the main SM plugin_init (above)
-
gpg_compose_form
-
Adds gpg plugin attributes to compose form
-
gpg_compose_form_process
-
Function attached to compose_form_process hook
-
gpg_compose_row
-
This function adds a "Encrypt Now" and "GPG Sign" link to the "Compose" row during message composition.
-
gpg_compose_row_do
-
This function adds a "Encrypt Now" and "GPG Sign" link to the "Compose" row during message composition.
-
gpg_compose_send
-
This is where the Encrypt on Send and Encrypt and Sign on Send functions go.
-
gpg_compose_send_do
-
This function is called by the main SM plugin_init (above) to initialize our compose_send hook functions
-
gpg_decrypt
-
function gpg_decrypt - This function does the decryption.
-
gpg_decrypt_attachment
-
This is the MIME handler for decrypting attachments.
-
gpg_decrypt_attachment_do
-
Hook function for GPG attachments with application/gpg-encrypted, attachment application/pgp, application/octec-stream and text/plain mime type.
-
gpg_decrypt_link
-
This function is called by the read_body hook (above)
-
gpg_download_entity
-
Downloads an entity (part of a message) and returns a temporary filename for it
-
gpg_encrypt
-
This function does the encryption This is the workhorse of the encryption side of the plugin
-
gpg_error_box
-
Prints error boxes
-
gpg_execute
-
This function directly execs the gpg binary with parameters passed in all other functions which try to use gpg should call this function
-
gpg_fetch_full_body
-
This function is called before gpg_check_sign and gpg_decrypt_link to retrieve the messge body for those functions
-
gpg_generate_keypair
-
This function generates a keypair
-
gpg_getTempDir
-
Determine the location of the system temporary directory.
-
gpg_getTempFile
-
Create a temporary filename for the lifetime of the script, and (optionally) register it to be deleted at request shutdown.
-
gpg_get_cached_passphrase
-
Get/retrieve the Cached Passphrase from secure storage
-
gpg_get_message_body_imap
-
get the body of a given part of a message
-
gpg_get_mime_header
-
download just the mime header from imap (note: this does not setup a MessageHeader class
-
gpg_get_signing_key_id
-
-
gpg_handle_octet_stream
-
This is the MIME handler for PGP attachments that are not signed with PGP mime types.
-
gpg_handle_pubkeys
-
Function attached to 'attachment application/pgp-keys' hook
-
gpg_handle_pubkeys_do
-
Handles attached PGP public keys
-
gpg_handle_signature
-
This function is called by the main SM plugin_init (above)
-
gpg_handle_signature_do
-
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_help_chapter
-
Function attached to help_chapter hook
-
gpg_help_chapter_do
-
This function displays the GPG Help link on the main SM help screen
-
gpg_https_connection
-
This function is called to check whether the user has an SSL connection Returns 0 for false and 1 for true (SSL)
-
gpg_identity_process
-
-
gpg_identity_process_hook
-
Function to handle general identity save triggered by options_identity_process hook
-
gpg_identity_renumber
-
-
gpg_identity_renumber_hook
-
Function used to re-assign GPG->SM identity maps
-
gpg_identity_table
-
-
gpg_identity_table_hook
-
Function to display possible gpg secret keys for user to select
-
gpg_import_link
-
This function is called by the read_body hook (above)
-
gpg_is_passphrase_cacheable
-
This function checks all the options to see if passphrase caching is enabled. Returns true if system allows passphrase caching and the user has selected to cache their passphrase Otherwise returns false.
-
gpg_is_passphrase_cached
-
This function checks all the options to see if a cached passphrase should be retrieved. Returns true if system allows passphrase caching and the user has selected to cache their passphrase, and there is a cached passphrase Otherwise returns false.
-
gpg_keyserver_findkey
-
This function will search for keys on a public keyserver
-
gpg_list_keys
-
This function is the generic key lister for the plugin it is used for trusted_key operations, as well as key signing
-
gpg_loading_constants
-
Function attached to loading_constants hook
-
gpg_loading_constants_do
-
Sets constants used in plugin
-
gpg_loading_prefs
-
Function attached to loading_prefs hook
-
gpg_loading_prefs_do
-
Function bypasses compose form security checks
-
gpg_message_encrypt_and_sign
-
Encrypts or signs messages
-
gpg_openpgp_header
-
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
-
This function formats and adds the plugin and its description to the Options screen.
-
gpg_optpage_register_block_do
-
This function formats and adds the plugin and its description to the Options screen.
-
gpg_optpage_set_loadinfo
-
Function attached to optpage_set_loadinfo hook
-
gpg_optpage_set_loadinfo_do
-
Sets gpg option block
-
gpg_page_title
-
Creates page title tags
-
gpg_parse_address
-
This function will parse the address correctly into a recipient list for use by the calling page.
-
gpg_parse_output
-
This will parse the string that gpg returns for info, warnings, errors and return them in arrays. This function also returns any other output seperately
-
gpg_read_body_header
-
Function attached to read_body_header hook
-
gpg_read_body_header_do
-
This function is called by setup.php, within a hook to initialize our read_body_header functions.
-
gpg_secure_unlink
-
Securely delete a temporary file
-
gpg_setglobal
-
This function will set a global variable that we want to be available to NaSMail in a fassion that is usable by all of the NaSMail sqgetGlobalVar or other get functions. Place the variable in _SESSION, _POST, and _GET
-
gpg_set_cached_passphrase
-
Sets the Cached Passphrase, storing it in secure storage
-
gpg_show_encrypt_errors
-
Prints all error messages generated during signing and encrypting process
-
gpg_show_menuline
-
Function attached to menuline hook
-
gpg_show_menuline_do
-
This function adds the Keyring link to the main SM top menu on every screen.
-
gpg_sign_attachment
-
Signs filename
-
gpg_sign_message
-
Signs message
-
gpg_stripstr
-
function to strip a gpg: from the beginning of a string, if it exists
-
gpg_strip_sign
-
This function strips a gpg signature from the text
-
gpg_update_trustdb
-
This function will update the gpg trustdb for the current user including a scan of the system keyring if enabled
-
gpg_verify_passphrase
-
Checks if the passphrase for the given key is valid
-
gpg_verify_signature
-
Verifies file's signature
-
gpg_version
-
Shows plugin version
-
gpg.php
-
-
genkey.php
-
-
genkey_keygen.php
-
-
getstart.php
-
-
gpg_decrypt_attach.php
-
-
gpg_functions.php
-
-
gpg_help.php
-
-
gpg_help_base.php
-
-
gpg_hook_functions.php
-
-
gpg_pop_init.php
-
-
gpg_recipientlist.php
-
-
gpg_view_verify_text.php
-
-
gpg_test.php
-
-
gpg_test_class.php
-