OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
cms_io.c File Reference
#include <openssl/asn1t.h>
#include <openssl/x509.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include "cms.h"
#include "cms_lcl.h"

Go to the source code of this file.

Functions

int CMS_stream (unsigned char ***boundary, CMS_ContentInfo *cms)
 
CMS_ContentInfod2i_CMS_bio (BIO *bp, CMS_ContentInfo **cms)
 
int i2d_CMS_bio (BIO *bp, CMS_ContentInfo *cms)
 
 IMPLEMENT_PEM_rw_const (CMS, CMS_ContentInfo, PEM_STRING_CMS, CMS_ContentInfo)
 
int i2d_CMS_bio_stream (BIO *out, CMS_ContentInfo *cms, BIO *in, int flags)
 
int PEM_write_bio_CMS_stream (BIO *out, CMS_ContentInfo *cms, BIO *in, int flags)
 
int SMIME_write_CMS (BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags)
 
CMS_ContentInfoSMIME_read_CMS (BIO *bio, BIO **bcont)
 

Function Documentation

int CMS_stream ( unsigned char ***  boundary,
CMS_ContentInfo cms 
)

Definition at line 61 of file cms_io.c.

CMS_ContentInfo* d2i_CMS_bio ( BIO bp,
CMS_ContentInfo **  cms 
)

Definition at line 80 of file cms_io.c.

int i2d_CMS_bio ( BIO bp,
CMS_ContentInfo cms 
)

Definition at line 85 of file cms_io.c.

int i2d_CMS_bio_stream ( BIO out,
CMS_ContentInfo cms,
BIO in,
int  flags 
)

Definition at line 100 of file cms_io.c.

IMPLEMENT_PEM_rw_const ( CMS  ,
CMS_ContentInfo  ,
PEM_STRING_CMS  ,
CMS_ContentInfo   
)

Definition at line 90 of file cms_io.c.

int PEM_write_bio_CMS_stream ( BIO out,
CMS_ContentInfo cms,
BIO in,
int  flags 
)

Definition at line 106 of file cms_io.c.

CMS_ContentInfo* SMIME_read_CMS ( BIO bio,
BIO **  bcont 
)

Definition at line 128 of file cms_io.c.

int SMIME_write_CMS ( BIO bio,
CMS_ContentInfo cms,
BIO data,
int  flags 
)

Definition at line 113 of file cms_io.c.