NeoMutt  2019-12-07-168-gc45f47
Teaching an old dog new tricks
DOXYGEN
crypt_mod_smime_gpgme.c File Reference

Wrappers for calls to GPGME SMIME. More...

#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "lib.h"
#include "crypt_gpgme.h"
#include "crypt_mod.h"
+ Include dependency graph for crypt_mod_smime_gpgme.c:

Go to the source code of this file.

Functions

static void smime_gpgme_void_passphrase (void)
 Implements CryptModuleSpecs::void_passphrase() More...
 
static bool smime_gpgme_valid_passphrase (void)
 Implements CryptModuleSpecs::valid_passphrase() More...
 

Variables

struct CryptModuleSpecs CryptModSmimeGpgme
 GPGME SMIME - Implements CryptModuleSpecs. More...
 

Detailed Description

Wrappers for calls to GPGME SMIME.

Authors
  • g10 Code GmbH

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file crypt_mod_smime_gpgme.c.

Function Documentation

◆ smime_gpgme_void_passphrase()

static void smime_gpgme_void_passphrase ( void  )
static

Implements CryptModuleSpecs::void_passphrase()

This is handled by gpg-agent.

Definition at line 41 of file crypt_mod_smime_gpgme.c.

42 {
43 }

◆ smime_gpgme_valid_passphrase()

static bool smime_gpgme_valid_passphrase ( void  )
static

Implements CryptModuleSpecs::valid_passphrase()

This is handled by gpg-agent.

Definition at line 50 of file crypt_mod_smime_gpgme.c.

51 {
52  return true;
53 }

Variable Documentation

◆ CryptModSmimeGpgme

struct CryptModuleSpecs CryptModSmimeGpgme
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
struct Body * smime_gpgme_sign_message(struct Body *a, const struct AddressList *from)
Implements CryptModuleSpecs::sign_message()
Definition: crypt_gpgme.c:1564
static bool smime_gpgme_valid_passphrase(void)
Implements CryptModuleSpecs::valid_passphrase()
char * smime_gpgme_find_keys(struct AddressList *addrlist, bool oppenc_mode)
Implements CryptModuleSpecs::find_keys()
Definition: crypt_gpgme.c:5366
void smime_gpgme_init(void)
Implements CryptModuleSpecs::init()
Definition: crypt_gpgme.c:5581
int smime_gpgme_verify_sender(struct Mailbox *m, struct Email *e)
Implements CryptModuleSpecs::smime_verify_sender()
Definition: crypt_gpgme.c:5848
int smime_gpgme_decrypt_mime(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **cur)
Implements CryptModuleSpecs::decrypt_mime()
Definition: crypt_gpgme.c:2473
#define APPLICATION_SMIME
Use SMIME to encrypt/sign.
Definition: lib.h:136
int smime_gpgme_verify_one(struct Body *sigbdy, struct State *s, const char *tempfile)
Implements CryptModuleSpecs::verify_one()
Definition: crypt_gpgme.c:2209
struct Body * smime_gpgme_build_smime_entity(struct Body *a, char *keylist)
Implements CryptModuleSpecs::smime_build_smime_entity()
Definition: crypt_gpgme.c:1618
int smime_gpgme_send_menu(struct Email *e)
Implements CryptModuleSpecs::send_menu()
Definition: crypt_gpgme.c:5762
int smime_gpgme_application_handler(struct Body *a, struct State *s)
Implements CryptModuleSpecs::application_handler()
Definition: crypt_gpgme.c:3322
static void smime_gpgme_void_passphrase(void)
Implements CryptModuleSpecs::void_passphrase()

GPGME SMIME - Implements CryptModuleSpecs.

Definition at line 59 of file crypt_mod_smime_gpgme.c.