Eneboo - Documentación para desarrolladores
Funciones
Referencia del Archivo src/libdigidoc/openssl/crypto/cms/cms_env.c
#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"

Funciones

 STACK_OF (CMS_RecipientInfo)
int CMS_RecipientInfo_type (CMS_RecipientInfo *ri)
CMS_ContentInfoCMS_EnvelopedData_create (const EVP_CIPHER *cipher)
CMS_RecipientInfoCMS_add1_recipient_cert (CMS_ContentInfo *cms, X509 *recip, unsigned int flags)
int CMS_RecipientInfo_ktri_get0_algs (CMS_RecipientInfo *ri, EVP_PKEY **pk, X509 **recip, X509_ALGOR **palg)
int CMS_RecipientInfo_ktri_get0_signer_id (CMS_RecipientInfo *ri, ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno)
int CMS_RecipientInfo_ktri_cert_cmp (CMS_RecipientInfo *ri, X509 *cert)
int CMS_RecipientInfo_set0_pkey (CMS_RecipientInfo *ri, EVP_PKEY *pkey)
int CMS_RecipientInfo_kekri_id_cmp (CMS_RecipientInfo *ri, const unsigned char *id, size_t idlen)
CMS_RecipientInfoCMS_add0_recipient_key (CMS_ContentInfo *cms, int nid, unsigned char *key, size_t keylen, unsigned char *id, size_t idlen, ASN1_GENERALIZEDTIME *date, ASN1_OBJECT *otherTypeId, ASN1_TYPE *otherType)
int CMS_RecipientInfo_kekri_get0_id (CMS_RecipientInfo *ri, X509_ALGOR **palg, ASN1_OCTET_STRING **pid, ASN1_GENERALIZEDTIME **pdate, ASN1_OBJECT **potherid, ASN1_TYPE **pothertype)
int CMS_RecipientInfo_set0_key (CMS_RecipientInfo *ri, unsigned char *key, size_t keylen)
int CMS_RecipientInfo_decrypt (CMS_ContentInfo *cms, CMS_RecipientInfo *ri)
BIOcms_EnvelopedData_init_bio (CMS_ContentInfo *cms)

Documentación de las funciones

CMS_RecipientInfo* CMS_add0_recipient_key ( CMS_ContentInfo cms,
int  nid,
unsigned char *  key,
size_t  keylen,
unsigned char *  id,
size_t  idlen,
ASN1_GENERALIZEDTIME date,
ASN1_OBJECT otherTypeId,
ASN1_TYPE otherType 
)
CMS_RecipientInfo* CMS_add1_recipient_cert ( CMS_ContentInfo cms,
X509 recip,
unsigned int  flags 
)
CMS_ContentInfo* CMS_EnvelopedData_create ( const EVP_CIPHER cipher)
BIO* cms_EnvelopedData_init_bio ( CMS_ContentInfo cms)
int CMS_RecipientInfo_decrypt ( CMS_ContentInfo cms,
CMS_RecipientInfo ri 
)
int CMS_RecipientInfo_kekri_get0_id ( CMS_RecipientInfo ri,
X509_ALGOR **  palg,
ASN1_OCTET_STRING **  pid,
ASN1_GENERALIZEDTIME **  pdate,
ASN1_OBJECT **  potherid,
ASN1_TYPE **  pothertype 
)
int CMS_RecipientInfo_kekri_id_cmp ( CMS_RecipientInfo ri,
const unsigned char *  id,
size_t  idlen 
)
int CMS_RecipientInfo_ktri_cert_cmp ( CMS_RecipientInfo ri,
X509 cert 
)
int CMS_RecipientInfo_ktri_get0_algs ( CMS_RecipientInfo ri,
EVP_PKEY **  pk,
X509 **  recip,
X509_ALGOR **  palg 
)
int CMS_RecipientInfo_ktri_get0_signer_id ( CMS_RecipientInfo ri,
ASN1_OCTET_STRING **  keyid,
X509_NAME **  issuer,
ASN1_INTEGER **  sno 
)
int CMS_RecipientInfo_set0_key ( CMS_RecipientInfo ri,
unsigned char *  key,
size_t  keylen 
)
int CMS_RecipientInfo_set0_pkey ( CMS_RecipientInfo ri,
EVP_PKEY pkey 
)
int CMS_RecipientInfo_type ( CMS_RecipientInfo ri)
STACK_OF ( CMS_RecipientInfo  )
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'