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

Go to the source code of this file.

Functions

const ASN1_OBJECT * CMS_get0_type (CMS_ContentInfo *cms)
 
CMS_ContentInfo * cms_Data_create (void)
 
BIO * cms_content_bio (CMS_ContentInfo *cms)
 
BIO * CMS_dataInit (CMS_ContentInfo *cms, BIO *icont)
 
int CMS_dataFinal (CMS_ContentInfo *cms, BIO *cmsbio)
 
ASN1_OCTET_STRING ** CMS_get0_content (CMS_ContentInfo *cms)
 
const ASN1_OBJECT * CMS_get0_eContentType (CMS_ContentInfo *cms)
 
int CMS_set1_eContentType (CMS_ContentInfo *cms, const ASN1_OBJECT *oid)
 
int CMS_is_detached (CMS_ContentInfo *cms)
 
int CMS_set_detached (CMS_ContentInfo *cms, int detached)
 
void cms_DigestAlgorithm_set (X509_ALGOR *alg, const EVP_MD *md)
 
BIO * cms_DigestAlgorithm_init_bio (X509_ALGOR *digestAlgorithm)
 
int cms_DigestAlgorithm_find_ctx (EVP_MD_CTX *mctx, BIO *chain, X509_ALGOR *mdalg)
 
CMS_CertificateChoices * CMS_add0_CertificateChoices (CMS_ContentInfo *cms)
 
int CMS_add0_cert (CMS_ContentInfo *cms, X509 *cert)
 
int CMS_add1_cert (CMS_ContentInfo *cms, X509 *cert)
 
CMS_RevocationInfoChoice * CMS_add0_RevocationInfoChoice (CMS_ContentInfo *cms)
 
int CMS_add0_crl (CMS_ContentInfo *cms, X509_CRL *crl)
 
int CMS_add1_crl (CMS_ContentInfo *cms, X509_CRL *crl)
 
 STACK_OF (X509)
 
 STACK_OF (X509_CRL)
 

Function Documentation

int CMS_add0_cert ( CMS_ContentInfo *  cms,
X509 *  cert 
)

Definition at line 462 of file cms_lib.c.

CMS_CertificateChoices* CMS_add0_CertificateChoices ( CMS_ContentInfo *  cms)

Definition at line 440 of file cms_lib.c.

int CMS_add0_crl ( CMS_ContentInfo *  cms,
X509_CRL *  crl 
)

Definition at line 543 of file cms_lib.c.

CMS_RevocationInfoChoice* CMS_add0_RevocationInfoChoice ( CMS_ContentInfo *  cms)

Definition at line 521 of file cms_lib.c.

int CMS_add1_cert ( CMS_ContentInfo *  cms,
X509 *  cert 
)

Definition at line 493 of file cms_lib.c.

int CMS_add1_crl ( CMS_ContentInfo *  cms,
X509_CRL *  crl 
)

Definition at line 554 of file cms_lib.c.

BIO* cms_content_bio ( CMS_ContentInfo *  cms)

Definition at line 89 of file cms_lib.c.

CMS_ContentInfo* cms_Data_create ( void  )

Definition at line 76 of file cms_lib.c.

int CMS_dataFinal ( CMS_ContentInfo *  cms,
BIO *  cmsbio 
)

Definition at line 158 of file cms_lib.c.

BIO* CMS_dataInit ( CMS_ContentInfo *  cms,
BIO *  icont 
)

Definition at line 105 of file cms_lib.c.

int cms_DigestAlgorithm_find_ctx ( EVP_MD_CTX *  mctx,
BIO *  chain,
X509_ALGOR *  mdalg 
)

Definition at line 390 of file cms_lib.c.

BIO* cms_DigestAlgorithm_init_bio ( X509_ALGOR *  digestAlgorithm)

Definition at line 361 of file cms_lib.c.

void cms_DigestAlgorithm_set ( X509_ALGOR *  alg,
const EVP_MD *  md 
)

Definition at line 346 of file cms_lib.c.

ASN1_OCTET_STRING** CMS_get0_content ( CMS_ContentInfo *  cms)

Definition at line 209 of file cms_lib.c.

const ASN1_OBJECT* CMS_get0_eContentType ( CMS_ContentInfo *  cms)

Definition at line 279 of file cms_lib.c.

const ASN1_OBJECT* CMS_get0_type ( CMS_ContentInfo *  cms)

Definition at line 71 of file cms_lib.c.

int CMS_is_detached ( CMS_ContentInfo *  cms)

Definition at line 304 of file cms_lib.c.

int CMS_set1_eContentType ( CMS_ContentInfo *  cms,
const ASN1_OBJECT *  oid 
)

Definition at line 288 of file cms_lib.c.

int CMS_set_detached ( CMS_ContentInfo *  cms,
int  detached 
)

Definition at line 315 of file cms_lib.c.

STACK_OF ( X509  )

Definition at line 563 of file cms_lib.c.

STACK_OF ( X509_CRL  )

Definition at line 596 of file cms_lib.c.