OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
cms_pwri.c File Reference
#include "cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include <openssl/cms.h>
#include <openssl/rand.h>
#include <openssl/aes.h>
#include "cms_lcl.h"
#include "asn1_locl.h"

Go to the source code of this file.

Functions

int CMS_RecipientInfo_set0_password (CMS_RecipientInfo *ri, unsigned char *pass, ossl_ssize_t passlen)
 
CMS_RecipientInfoCMS_add0_recipient_password (CMS_ContentInfo *cms, int iter, int wrap_nid, int pbe_nid, unsigned char *pass, ossl_ssize_t passlen, const EVP_CIPHER *kekciph)
 
int cms_RecipientInfo_pwri_crypt (CMS_ContentInfo *cms, CMS_RecipientInfo *ri, int en_de)
 

Function Documentation

CMS_RecipientInfo* CMS_add0_recipient_password ( CMS_ContentInfo cms,
int  iter,
int  wrap_nid,
int  pbe_nid,
unsigned char *  pass,
ossl_ssize_t  passlen,
const EVP_CIPHER kekciph 
)

Definition at line 83 of file cms_pwri.c.

int cms_RecipientInfo_pwri_crypt ( CMS_ContentInfo cms,
CMS_RecipientInfo ri,
int  en_de 
)

Definition at line 322 of file cms_pwri.c.

int CMS_RecipientInfo_set0_password ( CMS_RecipientInfo ri,
unsigned char *  pass,
ossl_ssize_t  passlen 
)

Definition at line 65 of file cms_pwri.c.