OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
smime.c File Reference
#include <stdio.h>
#include <string.h>
#include "apps.h"
#include <openssl/crypto.h>
#include <openssl/pem.h>
#include <openssl/err.h>
#include <openssl/x509_vfy.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Macros

#define PROG   smime_main
 
#define SMIME_OP   0x10
 
#define SMIME_IP   0x20
 
#define SMIME_SIGNERS   0x40
 
#define SMIME_ENCRYPT   (1 | SMIME_OP)
 
#define SMIME_DECRYPT   (2 | SMIME_IP)
 
#define SMIME_SIGN   (3 | SMIME_OP | SMIME_SIGNERS)
 
#define SMIME_VERIFY   (4 | SMIME_IP)
 
#define SMIME_PK7OUT   (5 | SMIME_IP | SMIME_OP)
 
#define SMIME_RESIGN   (6 | SMIME_IP | SMIME_OP | SMIME_SIGNERS)
 

Functions

int MAIN (int, char **)
 

Macro Definition Documentation

#define PROG   smime_main

Definition at line 71 of file smime.c.

#define SMIME_DECRYPT   (2 | SMIME_IP)

Definition at line 79 of file smime.c.

#define SMIME_ENCRYPT   (1 | SMIME_OP)

Definition at line 78 of file smime.c.

#define SMIME_IP   0x20

Definition at line 76 of file smime.c.

#define SMIME_OP   0x10

Definition at line 75 of file smime.c.

#define SMIME_PK7OUT   (5 | SMIME_IP | SMIME_OP)

Definition at line 82 of file smime.c.

#define SMIME_RESIGN   (6 | SMIME_IP | SMIME_OP | SMIME_SIGNERS)

Definition at line 83 of file smime.c.

#define SMIME_SIGN   (3 | SMIME_OP | SMIME_SIGNERS)

Definition at line 80 of file smime.c.

#define SMIME_SIGNERS   0x40

Definition at line 77 of file smime.c.

#define SMIME_VERIFY   (4 | SMIME_IP)

Definition at line 81 of file smime.c.

Function Documentation

int MAIN ( int  argc,
char **  argv 
)

Definition at line 87 of file asn1pars.c.