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

Funciones

int CMS_SignedData_init (CMS_ContentInfo *cms)
int cms_set1_SignerIdentifier (CMS_SignerIdentifier *sid, X509 *cert, int type)
int cms_SignerIdentifier_get0_signer_id (CMS_SignerIdentifier *sid, ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno)
int cms_SignerIdentifier_cert_cmp (CMS_SignerIdentifier *sid, X509 *cert)
CMS_SignerInfoCMS_add1_signer (CMS_ContentInfo *cms, X509 *signer, EVP_PKEY *pk, const EVP_MD *md, unsigned int flags)
 STACK_OF (CMS_SignerInfo)
 STACK_OF (X509)
void CMS_SignerInfo_set1_signer_cert (CMS_SignerInfo *si, X509 *signer)
int CMS_SignerInfo_get0_signer_id (CMS_SignerInfo *si, ASN1_OCTET_STRING **keyid, X509_NAME **issuer, ASN1_INTEGER **sno)
int CMS_SignerInfo_cert_cmp (CMS_SignerInfo *si, X509 *cert)
int CMS_set1_signers_certs (CMS_ContentInfo *cms, STACK_OF(X509)*scerts, unsigned int flags)
void CMS_SignerInfo_get0_algs (CMS_SignerInfo *si, EVP_PKEY **pk, X509 **signer, X509_ALGOR **pdig, X509_ALGOR **psig)
int cms_SignedData_final (CMS_ContentInfo *cms, BIO *chain)
int CMS_SignerInfo_sign (CMS_SignerInfo *si)
int CMS_SignerInfo_verify (CMS_SignerInfo *si)
BIOcms_SignedData_init_bio (CMS_ContentInfo *cms)
int CMS_SignerInfo_verify_content (CMS_SignerInfo *si, BIO *chain)
int CMS_add_smimecap (CMS_SignerInfo *si, STACK_OF(X509_ALGOR)*algs)
int CMS_add_simple_smimecap (STACK_OF(X509_ALGOR)**algs, int algnid, int keysize)
int CMS_add_standard_smimecap (STACK_OF(X509_ALGOR)**smcap)

Documentación de las funciones

CMS_SignerInfo* CMS_add1_signer ( CMS_ContentInfo cms,
X509 signer,
EVP_PKEY pk,
const EVP_MD md,
unsigned int  flags 
)
int CMS_add_simple_smimecap ( STACK_OF(X509_ALGOR)**  algs,
int  algnid,
int  keysize 
)
int CMS_add_smimecap ( CMS_SignerInfo si,
STACK_OF(X509_ALGOR)*  algs 
)
int CMS_add_standard_smimecap ( STACK_OF(X509_ALGOR)**  smcap)
int cms_set1_SignerIdentifier ( CMS_SignerIdentifier sid,
X509 cert,
int  type 
)
int CMS_set1_signers_certs ( CMS_ContentInfo cms,
STACK_OF(X509)*  scerts,
unsigned int  flags 
)
int cms_SignedData_final ( CMS_ContentInfo cms,
BIO chain 
)
int CMS_SignedData_init ( CMS_ContentInfo cms)
BIO* cms_SignedData_init_bio ( CMS_ContentInfo cms)
int cms_SignerIdentifier_cert_cmp ( CMS_SignerIdentifier sid,
X509 cert 
)
int cms_SignerIdentifier_get0_signer_id ( CMS_SignerIdentifier sid,
ASN1_OCTET_STRING **  keyid,
X509_NAME **  issuer,
ASN1_INTEGER **  sno 
)
int CMS_SignerInfo_cert_cmp ( CMS_SignerInfo si,
X509 cert 
)
void CMS_SignerInfo_get0_algs ( CMS_SignerInfo si,
EVP_PKEY **  pk,
X509 **  signer,
X509_ALGOR **  pdig,
X509_ALGOR **  psig 
)
int CMS_SignerInfo_get0_signer_id ( CMS_SignerInfo si,
ASN1_OCTET_STRING **  keyid,
X509_NAME **  issuer,
ASN1_INTEGER **  sno 
)
void CMS_SignerInfo_set1_signer_cert ( CMS_SignerInfo si,
X509 signer 
)
int CMS_SignerInfo_sign ( CMS_SignerInfo si)
int CMS_SignerInfo_verify ( CMS_SignerInfo si)
int CMS_SignerInfo_verify_content ( CMS_SignerInfo si,
BIO chain 
)
STACK_OF ( X509  )
STACK_OF ( CMS_SignerInfo  )
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'