OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
cms.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>
#include <openssl/cms.h>

Go to the source code of this file.

Macros

#define PROG   cms_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_CMSOUT   (5 | SMIME_IP | SMIME_OP)
 
#define SMIME_RESIGN   (6 | SMIME_IP | SMIME_OP | SMIME_SIGNERS)
 
#define SMIME_DATAOUT   (7 | SMIME_IP)
 
#define SMIME_DATA_CREATE   (8 | SMIME_OP)
 
#define SMIME_DIGEST_VERIFY   (9 | SMIME_IP)
 
#define SMIME_DIGEST_CREATE   (10 | SMIME_OP)
 
#define SMIME_UNCOMPRESS   (11 | SMIME_IP)
 
#define SMIME_COMPRESS   (12 | SMIME_OP)
 
#define SMIME_ENCRYPTED_DECRYPT   (13 | SMIME_IP)
 
#define SMIME_ENCRYPTED_ENCRYPT   (14 | SMIME_OP)
 
#define SMIME_SIGN_RECEIPT   (15 | SMIME_IP | SMIME_OP)
 
#define SMIME_VERIFY_RECEIPT   (16 | SMIME_IP)
 

Functions

int MAIN (int, char **)
 

Variables

int verify_err = 0
 

Macro Definition Documentation

#define PROG   cms_main

Definition at line 70 of file cms.c.

#define SMIME_CMSOUT   (5 | SMIME_IP | SMIME_OP)

Definition at line 85 of file cms.c.

#define SMIME_COMPRESS   (12 | SMIME_OP)

Definition at line 92 of file cms.c.

#define SMIME_DATA_CREATE   (8 | SMIME_OP)

Definition at line 88 of file cms.c.

#define SMIME_DATAOUT   (7 | SMIME_IP)

Definition at line 87 of file cms.c.

#define SMIME_DECRYPT   (2 | SMIME_IP)

Definition at line 82 of file cms.c.

#define SMIME_DIGEST_CREATE   (10 | SMIME_OP)

Definition at line 90 of file cms.c.

#define SMIME_DIGEST_VERIFY   (9 | SMIME_IP)

Definition at line 89 of file cms.c.

#define SMIME_ENCRYPT   (1 | SMIME_OP)

Definition at line 81 of file cms.c.

#define SMIME_ENCRYPTED_DECRYPT   (13 | SMIME_IP)

Definition at line 93 of file cms.c.

#define SMIME_ENCRYPTED_ENCRYPT   (14 | SMIME_OP)

Definition at line 94 of file cms.c.

#define SMIME_IP   0x20

Definition at line 79 of file cms.c.

#define SMIME_OP   0x10

Definition at line 78 of file cms.c.

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

Definition at line 86 of file cms.c.

#define SMIME_SIGN   (3 | SMIME_OP | SMIME_SIGNERS)

Definition at line 83 of file cms.c.

#define SMIME_SIGN_RECEIPT   (15 | SMIME_IP | SMIME_OP)

Definition at line 95 of file cms.c.

#define SMIME_SIGNERS   0x40

Definition at line 80 of file cms.c.

#define SMIME_UNCOMPRESS   (11 | SMIME_IP)

Definition at line 91 of file cms.c.

#define SMIME_VERIFY   (4 | SMIME_IP)

Definition at line 84 of file cms.c.

#define SMIME_VERIFY_RECEIPT   (16 | SMIME_IP)

Definition at line 96 of file cms.c.

Function Documentation

int MAIN ( int  argc,
char **  argv 
)

Definition at line 87 of file asn1pars.c.

Variable Documentation

int verify_err = 0

Definition at line 98 of file cms.c.