NeoMutt  2020-08-07-1-gab41a1
Teaching an old dog new tricks
DOXYGEN
crypt_mod_smime_classic.c File Reference

Wrappers for calls to CLI SMIME. More...

#include "config.h"
#include <stdio.h>
#include "lib.h"
#include "crypt_mod.h"
#include "smime.h"
+ Include dependency graph for crypt_mod_smime_classic.c:

Go to the source code of this file.

Functions

static void smime_class_init (void)
 Initialise smime. More...
 
static void smime_class_cleanup (void)
 Clean up smime. More...
 

Variables

struct CryptModuleSpecs CryptModSmimeClassic
 CLI SMIME - Implements CryptModuleSpecs. More...
 

Detailed Description

Wrappers for calls to CLI 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_classic.c.

Function Documentation

◆ smime_class_init()

static void smime_class_init ( void  )
static

Initialise smime.

Definition at line 40 of file crypt_mod_smime_classic.c.

41 {
42  smime_init();
43 }
void smime_init(void)
Initialise smime globals.
Definition: smime.c:87
+ Here is the call graph for this function:

◆ smime_class_cleanup()

static void smime_class_cleanup ( void  )
static

Clean up smime.

Definition at line 48 of file crypt_mod_smime_classic.c.

49 {
50  smime_cleanup();
51 }
void smime_cleanup(void)
Clean up smime globals.
Definition: smime.c:97
+ Here is the call graph for this function:

Variable Documentation

◆ CryptModSmimeClassic

struct CryptModuleSpecs CryptModSmimeClassic
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
int smime_class_verify_sender(struct Mailbox *m, struct Email *e)
Implements CryptModuleSpecs::smime_verify_sender()
Definition: smime.c:1192
void smime_class_getkeys(struct Envelope *env)
Implements CryptModuleSpecs::smime_getkeys()
Definition: smime.c:764
int smime_class_application_handler(struct Body *m, struct State *s)
Implements CryptModuleSpecs::application_handler()
Definition: smime.c:2081
int smime_class_verify_one(struct Body *sigbdy, struct State *s, const char *tempfile)
Implements CryptModuleSpecs::verify_one()
Definition: smime.c:1676
bool smime_class_valid_passphrase(void)
Implements CryptModuleSpecs::valid_passphrase()
Definition: smime.c:167
void smime_class_invoke_import(const char *infile, const char *mailbox)
Implements CryptModuleSpecs::smime_invoke_import()
Definition: smime.c:1120
#define APPLICATION_SMIME
Use SMIME to encrypt/sign.
Definition: lib.h:98
char * smime_class_find_keys(struct AddressList *al, bool oppenc_mode)
Implements CryptModuleSpecs::find_keys()
Definition: smime.c:800
static void smime_class_init(void)
Initialise smime.
struct Body * smime_class_sign_message(struct Body *a, const struct AddressList *from)
Implements CryptModuleSpecs::sign_message()
Definition: smime.c:1475
void smime_class_void_passphrase(void)
Implements CryptModuleSpecs::void_passphrase()
Definition: smime.c:158
static void smime_class_cleanup(void)
Clean up smime.
int smime_class_send_menu(struct Email *e)
Implements CryptModuleSpecs::send_menu()
Definition: smime.c:2100
struct Body * smime_class_build_smime_entity(struct Body *a, char *certlist)
Implements CryptModuleSpecs::smime_build_smime_entity()
Definition: smime.c:1311
int smime_class_decrypt_mime(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **cur)
Implements CryptModuleSpecs::decrypt_mime()
Definition: smime.c:2019

CLI SMIME - Implements CryptModuleSpecs.

Definition at line 57 of file crypt_mod_smime_classic.c.