OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
pk7_lib.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/x509.h>
#include "asn1_locl.h"

Go to the source code of this file.

Functions

long PKCS7_ctrl (PKCS7 *p7, int cmd, long larg, char *parg)
 
int PKCS7_content_new (PKCS7 *p7, int type)
 
int PKCS7_set_content (PKCS7 *p7, PKCS7 *p7_data)
 
int PKCS7_set_type (PKCS7 *p7, int type)
 
int PKCS7_set0_type_other (PKCS7 *p7, int type, ASN1_TYPE *other)
 
int PKCS7_add_signer (PKCS7 *p7, PKCS7_SIGNER_INFO *psi)
 
int PKCS7_add_certificate (PKCS7 *p7, X509 *x509)
 
int PKCS7_add_crl (PKCS7 *p7, X509_CRL *crl)
 
int PKCS7_SIGNER_INFO_set (PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
 
PKCS7_SIGNER_INFOPKCS7_add_signature (PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
 
int PKCS7_set_digest (PKCS7 *p7, const EVP_MD *md)
 
 STACK_OF (PKCS7_SIGNER_INFO)
 
void PKCS7_SIGNER_INFO_get0_algs (PKCS7_SIGNER_INFO *si, EVP_PKEY **pk, X509_ALGOR **pdig, X509_ALGOR **psig)
 
void PKCS7_RECIP_INFO_get0_alg (PKCS7_RECIP_INFO *ri, X509_ALGOR **penc)
 
PKCS7_RECIP_INFOPKCS7_add_recipient (PKCS7 *p7, X509 *x509)
 
int PKCS7_add_recipient_info (PKCS7 *p7, PKCS7_RECIP_INFO *ri)
 
int PKCS7_RECIP_INFO_set (PKCS7_RECIP_INFO *p7i, X509 *x509)
 
X509PKCS7_cert_from_signer_info (PKCS7 *p7, PKCS7_SIGNER_INFO *si)
 
int PKCS7_set_cipher (PKCS7 *p7, const EVP_CIPHER *cipher)
 
int PKCS7_stream (unsigned char ***boundary, PKCS7 *p7)
 

Function Documentation

int PKCS7_add_certificate ( PKCS7 p7,
X509 x509 
)

Definition at line 295 of file pk7_lib.c.

int PKCS7_add_crl ( PKCS7 p7,
X509_CRL crl 
)

Definition at line 330 of file pk7_lib.c.

PKCS7_RECIP_INFO* PKCS7_add_recipient ( PKCS7 p7,
X509 x509 
)

Definition at line 491 of file pk7_lib.c.

int PKCS7_add_recipient_info ( PKCS7 p7,
PKCS7_RECIP_INFO ri 
)

Definition at line 505 of file pk7_lib.c.

PKCS7_SIGNER_INFO* PKCS7_add_signature ( PKCS7 p7,
X509 x509,
EVP_PKEY pkey,
const EVP_MD dgst 
)

Definition at line 413 of file pk7_lib.c.

int PKCS7_add_signer ( PKCS7 p7,
PKCS7_SIGNER_INFO psi 
)

Definition at line 236 of file pk7_lib.c.

X509* PKCS7_cert_from_signer_info ( PKCS7 p7,
PKCS7_SIGNER_INFO si 
)

Definition at line 581 of file pk7_lib.c.

int PKCS7_content_new ( PKCS7 p7,
int  type 
)

Definition at line 115 of file pk7_lib.c.

long PKCS7_ctrl ( PKCS7 p7,
int  cmd,
long  larg,
char *  parg 
)

Definition at line 65 of file pk7_lib.c.

void PKCS7_RECIP_INFO_get0_alg ( PKCS7_RECIP_INFO ri,
X509_ALGOR **  penc 
)

Definition at line 485 of file pk7_lib.c.

int PKCS7_RECIP_INFO_set ( PKCS7_RECIP_INFO p7i,
X509 x509 
)

Definition at line 529 of file pk7_lib.c.

int PKCS7_set0_type_other ( PKCS7 p7,
int  type,
ASN1_TYPE other 
)

Definition at line 229 of file pk7_lib.c.

int PKCS7_set_cipher ( PKCS7 p7,
const EVP_CIPHER cipher 
)

Definition at line 591 of file pk7_lib.c.

int PKCS7_set_content ( PKCS7 p7,
PKCS7 p7_data 
)

Definition at line 129 of file pk7_lib.c.

int PKCS7_set_digest ( PKCS7 p7,
const EVP_MD md 
)

Definition at line 442 of file pk7_lib.c.

int PKCS7_set_type ( PKCS7 p7,
int  type 
)

Definition at line 159 of file pk7_lib.c.

void PKCS7_SIGNER_INFO_get0_algs ( PKCS7_SIGNER_INFO si,
EVP_PKEY **  pk,
X509_ALGOR **  pdig,
X509_ALGOR **  psig 
)

Definition at line 474 of file pk7_lib.c.

int PKCS7_SIGNER_INFO_set ( PKCS7_SIGNER_INFO p7i,
X509 x509,
EVP_PKEY pkey,
const EVP_MD dgst 
)

Definition at line 366 of file pk7_lib.c.

int PKCS7_stream ( unsigned char ***  boundary,
PKCS7 p7 
)

Definition at line 621 of file pk7_lib.c.

STACK_OF ( PKCS7_SIGNER_INFO  )

Definition at line 460 of file pk7_lib.c.