X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fcrypt.h;fp=lib-crypt%2Fcrypt.h;h=8d394caf7aaa31e16b3992b18b6b6852e3988b63;hb=132d06d5920f9a496a8623acfbbabe9739618489;hp=4f550aff7cf488eb2a58d870037691c22812a70c;hpb=7dea2ed3be5f5aaa2975647e69a414925ccb3cb8;p=apps%2Fmadmutt.git diff --git a/lib-crypt/crypt.h b/lib-crypt/crypt.h index 4f550af..8d394ca 100644 --- a/lib-crypt/crypt.h +++ b/lib-crypt/crypt.h @@ -110,14 +110,6 @@ void crypt_extract_keys_from_messages (HEADER * h); Return the list of keys in KEYLIST. */ int crypt_get_keys (HEADER * msg, char **keylist); -/* Forget a passphrase and display a message. */ -void crypt_forget_passphrase (void); - -/* Check that we have a usable passphrase, ask if not. */ -int crypt_valid_passphrase (int); - - -/*-- cryptglue.c --*/ /* Show a message that a backend will be invoked. */ void crypt_invoke_message (int type); @@ -134,16 +126,9 @@ int crypt_pgp_encrypted_handler (BODY * a, STATE * s); /* fixme: needs documentation. */ void crypt_pgp_invoke_getkeys (address_t * addr); -/* Ask for a PGP key. */ -pgp_key_t crypt_pgp_ask_for_key (char *tag, char *whatfor, - short abilities, pgp_ring_t keyring); - /* Check for a traditional PGP message in body B. */ int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only); -/* Release the PGP key KPP (note, that we pass a pointer to it). */ -void crypt_pgp_free_key (pgp_key_t * kpp); - /* Generate a PGP public key attachment. */ BODY *crypt_pgp_make_key_attachment (char *tempf); @@ -154,9 +139,6 @@ BODY *crypt_pgp_sign_message (BODY * a); later. This is necessary for $fcc_attach. */ BODY *crypt_pgp_encrypt_message (BODY * a, char *keylist, int sign); -/* Access the keyID in K. */ -char *crypt_pgp_keyid (pgp_key_t k); - /* fixme: needs documentation */ void crypt_pgp_extract_keys_from_attachment_list (FILE * fp, int tag, BODY * top); @@ -174,9 +156,6 @@ void crypt_smime_getkeys (ENVELOPE * env); /* Check that the sender matches. */ int crypt_smime_verify_sender (HEADER * h); -/* Ask for an SMIME key. */ -char *crypt_smime_ask_for_key (char *prompt, char *mailbox, short public); - /* fixme: Needs documentation. */ BODY *crypt_smime_sign_message (BODY * a);