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);
/* 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);
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);
/* 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);