Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
pkcs7.h File Reference
#include <openssl/asn1.h>
#include <openssl/bio.h>
#include <openssl/e_os2.h>
#include <openssl/symhacks.h>
#include <openssl/ossl_typ.h>
#include <openssl/pkcs7err.h>
+ Include dependency graph for pkcs7.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pkcs7_issuer_and_serial_st
 
struct  pkcs7_signer_info_st
 
struct  pkcs7_recip_info_st
 
struct  pkcs7_signed_st
 
struct  pkcs7_enc_content_st
 
struct  pkcs7_enveloped_st
 
struct  pkcs7_signedandenveloped_st
 
struct  pkcs7_digest_st
 
struct  pkcs7_encrypted_st
 
struct  pkcs7_st
 

Macros

#define PKCS7_S_HEADER   0
 
#define PKCS7_S_BODY   1
 
#define PKCS7_S_TAIL   2
 
#define PKCS7_OP_SET_DETACHED_SIGNATURE   1
 
#define PKCS7_OP_GET_DETACHED_SIGNATURE   2
 
#define PKCS7_get_signed_attributes(si)   ((si)->auth_attr)
 
#define PKCS7_get_attributes(si)   ((si)->unauth_attr)
 
#define PKCS7_type_is_signed(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
 
#define PKCS7_type_is_encrypted(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)
 
#define PKCS7_type_is_enveloped(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)
 
#define PKCS7_type_is_signedAndEnveloped(a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
 
#define PKCS7_type_is_data(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
 
#define PKCS7_type_is_digest(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
 
#define PKCS7_set_detached(p, v)    PKCS7_ctrl(p,PKCS7_OP_SET_DETACHED_SIGNATURE,v,NULL)
 
#define PKCS7_get_detached(p)    PKCS7_ctrl(p,PKCS7_OP_GET_DETACHED_SIGNATURE,0,NULL)
 
#define PKCS7_is_detached(p7)   (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7))
 
#define PKCS7_TEXT   0x1
 
#define PKCS7_NOCERTS   0x2
 
#define PKCS7_NOSIGS   0x4
 
#define PKCS7_NOCHAIN   0x8
 
#define PKCS7_NOINTERN   0x10
 
#define PKCS7_NOVERIFY   0x20
 
#define PKCS7_DETACHED   0x40
 
#define PKCS7_BINARY   0x80
 
#define PKCS7_NOATTR   0x100
 
#define PKCS7_NOSMIMECAP   0x200
 
#define PKCS7_NOOLDMIMETYPE   0x400
 
#define PKCS7_CRLFEOL   0x800
 
#define PKCS7_STREAM   0x1000
 
#define PKCS7_NOCRL   0x2000
 
#define PKCS7_PARTIAL   0x4000
 
#define PKCS7_REUSE_DIGEST   0x8000
 
#define PKCS7_NO_DUAL_CONTENT   0x10000
 
#define SMIME_TEXT   PKCS7_TEXT
 
#define SMIME_NOCERTS   PKCS7_NOCERTS
 
#define SMIME_NOSIGS   PKCS7_NOSIGS
 
#define SMIME_NOCHAIN   PKCS7_NOCHAIN
 
#define SMIME_NOINTERN   PKCS7_NOINTERN
 
#define SMIME_NOVERIFY   PKCS7_NOVERIFY
 
#define SMIME_DETACHED   PKCS7_DETACHED
 
#define SMIME_BINARY   PKCS7_BINARY
 
#define SMIME_NOATTR   PKCS7_NOATTR
 
#define SMIME_ASCIICRLF   0x80000
 

Typedefs

typedef struct pkcs7_issuer_and_serial_st PKCS7_ISSUER_AND_SERIAL
 
typedef struct pkcs7_signer_info_st PKCS7_SIGNER_INFO
 
typedef struct pkcs7_recip_info_st PKCS7_RECIP_INFO
 
typedef struct pkcs7_signed_st PKCS7_SIGNED
 
typedef struct pkcs7_enc_content_st PKCS7_ENC_CONTENT
 
typedef struct pkcs7_enveloped_st PKCS7_ENVELOPE
 
typedef struct pkcs7_signedandenveloped_st PKCS7_SIGN_ENVELOPE
 
typedef struct pkcs7_digest_st PKCS7_DIGEST
 
typedef struct pkcs7_encrypted_st PKCS7_ENCRYPT
 
typedef struct pkcs7_st PKCS7
 

Functions

int PKCS7_ISSUER_AND_SERIAL_digest (PKCS7_ISSUER_AND_SERIAL *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
PKCS7d2i_PKCS7_fp (FILE *fp, PKCS7 **p7)
 
int i2d_PKCS7_fp (FILE *fp, PKCS7 *p7)
 
PKCS7PKCS7_dup (PKCS7 *p7)
 
PKCS7d2i_PKCS7_bio (BIO *bp, PKCS7 **p7)
 
int i2d_PKCS7_bio (BIO *bp, PKCS7 *p7)
 
int i2d_PKCS7_bio_stream (BIO *out, PKCS7 *p7, BIO *in, int flags)
 
int PEM_write_bio_PKCS7_stream (BIO *out, PKCS7 *p7, BIO *in, int flags)
 
long PKCS7_ctrl (PKCS7 *p7, int cmd, long larg, char *parg)
 
int PKCS7_set_type (PKCS7 *p7, int type)
 
int PKCS7_set0_type_other (PKCS7 *p7, int type, ASN1_TYPE *other)
 
int PKCS7_set_content (PKCS7 *p7, PKCS7 *p7_data)
 
int PKCS7_SIGNER_INFO_set (PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
 
int PKCS7_SIGNER_INFO_sign (PKCS7_SIGNER_INFO *si)
 
int PKCS7_add_signer (PKCS7 *p7, PKCS7_SIGNER_INFO *p7i)
 
int PKCS7_add_certificate (PKCS7 *p7, X509 *x509)
 
int PKCS7_add_crl (PKCS7 *p7, X509_CRL *x509)
 
int PKCS7_content_new (PKCS7 *p7, int nid)
 
int PKCS7_dataVerify (X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si)
 
int PKCS7_signatureVerify (BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509)
 
BIOPKCS7_dataInit (PKCS7 *p7, BIO *bio)
 
int PKCS7_dataFinal (PKCS7 *p7, BIO *bio)
 
BIOPKCS7_dataDecode (PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert)
 
PKCS7_SIGNER_INFOPKCS7_add_signature (PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
 
X509PKCS7_cert_from_signer_info (PKCS7 *p7, PKCS7_SIGNER_INFO *si)
 
int PKCS7_set_digest (PKCS7 *p7, const EVP_MD *md)
 
 STACK_OF (PKCS7_SIGNER_INFO) *PKCS7_get_signer_info(PKCS7 *p7)
 
PKCS7_RECIP_INFOPKCS7_add_recipient (PKCS7 *p7, X509 *x509)
 
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)
 
int PKCS7_add_recipient_info (PKCS7 *p7, PKCS7_RECIP_INFO *ri)
 
int PKCS7_RECIP_INFO_set (PKCS7_RECIP_INFO *p7i, X509 *x509)
 
int PKCS7_set_cipher (PKCS7 *p7, const EVP_CIPHER *cipher)
 
int PKCS7_stream (unsigned char ***boundary, PKCS7 *p7)
 
PKCS7_ISSUER_AND_SERIALPKCS7_get_issuer_and_serial (PKCS7 *p7, int idx)
 
ASN1_OCTET_STRINGPKCS7_digest_from_attributes (STACK_OF(X509_ATTRIBUTE) *sk)
 
int PKCS7_add_signed_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int type, void *data)
 
int PKCS7_add_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value)
 
ASN1_TYPEPKCS7_get_attribute (PKCS7_SIGNER_INFO *si, int nid)
 
ASN1_TYPEPKCS7_get_signed_attribute (PKCS7_SIGNER_INFO *si, int nid)
 
int PKCS7_set_signed_attributes (PKCS7_SIGNER_INFO *p7si, STACK_OF(X509_ATTRIBUTE) *sk)
 
int PKCS7_set_attributes (PKCS7_SIGNER_INFO *p7si, STACK_OF(X509_ATTRIBUTE) *sk)
 
PKCS7PKCS7_sign (X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, int flags)
 
PKCS7_SIGNER_INFOPKCS7_sign_add_signer (PKCS7 *p7, X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md, int flags)
 
int PKCS7_final (PKCS7 *p7, BIO *data, int flags)
 
int PKCS7_verify (PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, BIO *indata, BIO *out, int flags)
 
 STACK_OF (X509) *PKCS7_get0_signers(PKCS7 *p7
 
PKCS7PKCS7_encrypt (STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, int flags)
 
int PKCS7_decrypt (PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags)
 
int PKCS7_add_attrib_smimecap (PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap)
 
 STACK_OF (X509_ALGOR) *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si)
 
int PKCS7_simple_smimecap (STACK_OF(X509_ALGOR) *sk, int nid, int arg)
 
int PKCS7_add_attrib_content_type (PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid)
 
int PKCS7_add0_attrib_signing_time (PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
 
int PKCS7_add1_attrib_digest (PKCS7_SIGNER_INFO *si, const unsigned char *md, int mdlen)
 
int SMIME_write_PKCS7 (BIO *bio, PKCS7 *p7, BIO *data, int flags)
 
PKCS7SMIME_read_PKCS7 (BIO *bio, BIO **bcont)
 
BIOBIO_new_PKCS7 (BIO *out, PKCS7 *p7)
 

Variables

int flags
 

Macro Definition Documentation

◆ PKCS7_BINARY

#define PKCS7_BINARY   0x80

Definition at line 178 of file pkcs7.h.

◆ PKCS7_CRLFEOL

#define PKCS7_CRLFEOL   0x800

Definition at line 182 of file pkcs7.h.

◆ PKCS7_DETACHED

#define PKCS7_DETACHED   0x40

Definition at line 177 of file pkcs7.h.

◆ PKCS7_get_attributes

#define PKCS7_get_attributes ( si)    ((si)->unauth_attr)

Definition at line 152 of file pkcs7.h.

◆ PKCS7_get_detached

#define PKCS7_get_detached ( p)     PKCS7_ctrl(p,PKCS7_OP_GET_DETACHED_SIGNATURE,0,NULL)

Definition at line 164 of file pkcs7.h.

◆ PKCS7_get_signed_attributes

#define PKCS7_get_signed_attributes ( si)    ((si)->auth_attr)

Definition at line 151 of file pkcs7.h.

◆ PKCS7_is_detached

#define PKCS7_is_detached ( p7)    (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7))

Definition at line 167 of file pkcs7.h.

◆ PKCS7_NO_DUAL_CONTENT

#define PKCS7_NO_DUAL_CONTENT   0x10000

Definition at line 187 of file pkcs7.h.

◆ PKCS7_NOATTR

#define PKCS7_NOATTR   0x100

Definition at line 179 of file pkcs7.h.

◆ PKCS7_NOCERTS

#define PKCS7_NOCERTS   0x2

Definition at line 172 of file pkcs7.h.

◆ PKCS7_NOCHAIN

#define PKCS7_NOCHAIN   0x8

Definition at line 174 of file pkcs7.h.

◆ PKCS7_NOCRL

#define PKCS7_NOCRL   0x2000

Definition at line 184 of file pkcs7.h.

◆ PKCS7_NOINTERN

#define PKCS7_NOINTERN   0x10

Definition at line 175 of file pkcs7.h.

◆ PKCS7_NOOLDMIMETYPE

#define PKCS7_NOOLDMIMETYPE   0x400

Definition at line 181 of file pkcs7.h.

◆ PKCS7_NOSIGS

#define PKCS7_NOSIGS   0x4

Definition at line 173 of file pkcs7.h.

◆ PKCS7_NOSMIMECAP

#define PKCS7_NOSMIMECAP   0x200

Definition at line 180 of file pkcs7.h.

◆ PKCS7_NOVERIFY

#define PKCS7_NOVERIFY   0x20

Definition at line 176 of file pkcs7.h.

◆ PKCS7_OP_GET_DETACHED_SIGNATURE

#define PKCS7_OP_GET_DETACHED_SIGNATURE   2

Definition at line 149 of file pkcs7.h.

◆ PKCS7_OP_SET_DETACHED_SIGNATURE

#define PKCS7_OP_SET_DETACHED_SIGNATURE   1

Definition at line 148 of file pkcs7.h.

◆ PKCS7_PARTIAL

#define PKCS7_PARTIAL   0x4000

Definition at line 185 of file pkcs7.h.

◆ PKCS7_REUSE_DIGEST

#define PKCS7_REUSE_DIGEST   0x8000

Definition at line 186 of file pkcs7.h.

◆ PKCS7_S_BODY

#define PKCS7_S_BODY   1

Definition at line 117 of file pkcs7.h.

◆ PKCS7_S_HEADER

#define PKCS7_S_HEADER   0

Definition at line 116 of file pkcs7.h.

◆ PKCS7_S_TAIL

#define PKCS7_S_TAIL   2

Definition at line 118 of file pkcs7.h.

◆ PKCS7_set_detached

#define PKCS7_set_detached ( p,
v )    PKCS7_ctrl(p,PKCS7_OP_SET_DETACHED_SIGNATURE,v,NULL)

Definition at line 162 of file pkcs7.h.

◆ PKCS7_STREAM

#define PKCS7_STREAM   0x1000

Definition at line 183 of file pkcs7.h.

◆ PKCS7_TEXT

#define PKCS7_TEXT   0x1

Definition at line 171 of file pkcs7.h.

◆ PKCS7_type_is_data

#define PKCS7_type_is_data ( a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_data)

Definition at line 159 of file pkcs7.h.

◆ PKCS7_type_is_digest

#define PKCS7_type_is_digest ( a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)

Definition at line 160 of file pkcs7.h.

◆ PKCS7_type_is_encrypted

#define PKCS7_type_is_encrypted ( a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)

Definition at line 155 of file pkcs7.h.

◆ PKCS7_type_is_enveloped

#define PKCS7_type_is_enveloped ( a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)

Definition at line 156 of file pkcs7.h.

◆ PKCS7_type_is_signed

#define PKCS7_type_is_signed ( a)    (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)

Definition at line 154 of file pkcs7.h.

◆ PKCS7_type_is_signedAndEnveloped

#define PKCS7_type_is_signedAndEnveloped ( a)     (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)

Definition at line 157 of file pkcs7.h.

◆ SMIME_ASCIICRLF

#define SMIME_ASCIICRLF   0x80000

Definition at line 202 of file pkcs7.h.

◆ SMIME_BINARY

#define SMIME_BINARY   PKCS7_BINARY

Definition at line 198 of file pkcs7.h.

◆ SMIME_DETACHED

#define SMIME_DETACHED   PKCS7_DETACHED

Definition at line 197 of file pkcs7.h.

◆ SMIME_NOATTR

#define SMIME_NOATTR   PKCS7_NOATTR

Definition at line 199 of file pkcs7.h.

◆ SMIME_NOCERTS

#define SMIME_NOCERTS   PKCS7_NOCERTS

Definition at line 192 of file pkcs7.h.

◆ SMIME_NOCHAIN

#define SMIME_NOCHAIN   PKCS7_NOCHAIN

Definition at line 194 of file pkcs7.h.

◆ SMIME_NOINTERN

#define SMIME_NOINTERN   PKCS7_NOINTERN

Definition at line 195 of file pkcs7.h.

◆ SMIME_NOSIGS

#define SMIME_NOSIGS   PKCS7_NOSIGS

Definition at line 193 of file pkcs7.h.

◆ SMIME_NOVERIFY

#define SMIME_NOVERIFY   PKCS7_NOVERIFY

Definition at line 196 of file pkcs7.h.

◆ SMIME_TEXT

#define SMIME_TEXT   PKCS7_TEXT

Definition at line 191 of file pkcs7.h.

Typedef Documentation

◆ PKCS7

typedef struct pkcs7_st PKCS7

◆ PKCS7_DIGEST

typedef struct pkcs7_digest_st PKCS7_DIGEST

◆ PKCS7_ENC_CONTENT

◆ PKCS7_ENCRYPT

◆ PKCS7_ENVELOPE

◆ PKCS7_ISSUER_AND_SERIAL

◆ PKCS7_RECIP_INFO

◆ PKCS7_SIGN_ENVELOPE

◆ PKCS7_SIGNED

typedef struct pkcs7_signed_st PKCS7_SIGNED

◆ PKCS7_SIGNER_INFO

Function Documentation

◆ BIO_new_PKCS7()

BIO * BIO_new_PKCS7 ( BIO * out,
PKCS7 * p7 )

◆ d2i_PKCS7_bio()

PKCS7 * d2i_PKCS7_bio ( BIO * bp,
PKCS7 ** p7 )

◆ d2i_PKCS7_fp()

PKCS7 * d2i_PKCS7_fp ( FILE * fp,
PKCS7 ** p7 )

◆ i2d_PKCS7_bio()

int i2d_PKCS7_bio ( BIO * bp,
PKCS7 * p7 )

◆ i2d_PKCS7_bio_stream()

int i2d_PKCS7_bio_stream ( BIO * out,
PKCS7 * p7,
BIO * in,
int flags )

◆ i2d_PKCS7_fp()

int i2d_PKCS7_fp ( FILE * fp,
PKCS7 * p7 )

◆ PEM_write_bio_PKCS7_stream()

int PEM_write_bio_PKCS7_stream ( BIO * out,
PKCS7 * p7,
BIO * in,
int flags )

◆ PKCS7_add0_attrib_signing_time()

int PKCS7_add0_attrib_signing_time ( PKCS7_SIGNER_INFO * si,
ASN1_TIME * t )

◆ PKCS7_add1_attrib_digest()

int PKCS7_add1_attrib_digest ( PKCS7_SIGNER_INFO * si,
const unsigned char * md,
int mdlen )

◆ PKCS7_add_attrib_content_type()

int PKCS7_add_attrib_content_type ( PKCS7_SIGNER_INFO * si,
ASN1_OBJECT * coid )

◆ PKCS7_add_attrib_smimecap()

int PKCS7_add_attrib_smimecap ( PKCS7_SIGNER_INFO * si,
STACK_OF(X509_ALGOR) * cap )

◆ PKCS7_add_attribute()

int PKCS7_add_attribute ( PKCS7_SIGNER_INFO * p7si,
int nid,
int atrtype,
void * value )

◆ PKCS7_add_certificate()

int PKCS7_add_certificate ( PKCS7 * p7,
X509 * x509 )

◆ PKCS7_add_crl()

int PKCS7_add_crl ( PKCS7 * p7,
X509_CRL * x509 )

◆ PKCS7_add_recipient()

PKCS7_RECIP_INFO * PKCS7_add_recipient ( PKCS7 * p7,
X509 * x509 )

◆ PKCS7_add_recipient_info()

int PKCS7_add_recipient_info ( PKCS7 * p7,
PKCS7_RECIP_INFO * ri )

◆ PKCS7_add_signature()

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

◆ PKCS7_add_signed_attribute()

int PKCS7_add_signed_attribute ( PKCS7_SIGNER_INFO * p7si,
int nid,
int type,
void * data )

◆ PKCS7_add_signer()

int PKCS7_add_signer ( PKCS7 * p7,
PKCS7_SIGNER_INFO * p7i )

◆ PKCS7_cert_from_signer_info()

X509 * PKCS7_cert_from_signer_info ( PKCS7 * p7,
PKCS7_SIGNER_INFO * si )

◆ PKCS7_content_new()

int PKCS7_content_new ( PKCS7 * p7,
int nid )

◆ PKCS7_ctrl()

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

◆ PKCS7_dataDecode()

BIO * PKCS7_dataDecode ( PKCS7 * p7,
EVP_PKEY * pkey,
BIO * in_bio,
X509 * pcert )

◆ PKCS7_dataFinal()

int PKCS7_dataFinal ( PKCS7 * p7,
BIO * bio )

◆ PKCS7_dataInit()

BIO * PKCS7_dataInit ( PKCS7 * p7,
BIO * bio )

◆ PKCS7_dataVerify()

int PKCS7_dataVerify ( X509_STORE * cert_store,
X509_STORE_CTX * ctx,
BIO * bio,
PKCS7 * p7,
PKCS7_SIGNER_INFO * si )

◆ PKCS7_decrypt()

int PKCS7_decrypt ( PKCS7 * p7,
EVP_PKEY * pkey,
X509 * cert,
BIO * data,
int flags )

◆ PKCS7_digest_from_attributes()

ASN1_OCTET_STRING * PKCS7_digest_from_attributes ( STACK_OF(X509_ATTRIBUTE) * sk)

◆ PKCS7_dup()

PKCS7 * PKCS7_dup ( PKCS7 * p7)

◆ PKCS7_encrypt()

PKCS7 * PKCS7_encrypt ( STACK_OF(X509) * certs,
BIO * in,
const EVP_CIPHER * cipher,
int flags )

◆ PKCS7_final()

int PKCS7_final ( PKCS7 * p7,
BIO * data,
int flags )

◆ PKCS7_get_attribute()

ASN1_TYPE * PKCS7_get_attribute ( PKCS7_SIGNER_INFO * si,
int nid )

◆ PKCS7_get_issuer_and_serial()

PKCS7_ISSUER_AND_SERIAL * PKCS7_get_issuer_and_serial ( PKCS7 * p7,
int idx )

◆ PKCS7_get_signed_attribute()

ASN1_TYPE * PKCS7_get_signed_attribute ( PKCS7_SIGNER_INFO * si,
int nid )

◆ PKCS7_ISSUER_AND_SERIAL_digest()

int PKCS7_ISSUER_AND_SERIAL_digest ( PKCS7_ISSUER_AND_SERIAL * data,
const EVP_MD * type,
unsigned char * md,
unsigned int * len )

◆ PKCS7_RECIP_INFO_get0_alg()

void PKCS7_RECIP_INFO_get0_alg ( PKCS7_RECIP_INFO * ri,
X509_ALGOR ** penc )

◆ PKCS7_RECIP_INFO_set()

int PKCS7_RECIP_INFO_set ( PKCS7_RECIP_INFO * p7i,
X509 * x509 )

◆ PKCS7_set0_type_other()

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

◆ PKCS7_set_attributes()

int PKCS7_set_attributes ( PKCS7_SIGNER_INFO * p7si,
STACK_OF(X509_ATTRIBUTE) * sk )

◆ PKCS7_set_cipher()

int PKCS7_set_cipher ( PKCS7 * p7,
const EVP_CIPHER * cipher )

◆ PKCS7_set_content()

int PKCS7_set_content ( PKCS7 * p7,
PKCS7 * p7_data )

◆ PKCS7_set_digest()

int PKCS7_set_digest ( PKCS7 * p7,
const EVP_MD * md )

◆ PKCS7_set_signed_attributes()

int PKCS7_set_signed_attributes ( PKCS7_SIGNER_INFO * p7si,
STACK_OF(X509_ATTRIBUTE) * sk )

◆ PKCS7_set_type()

int PKCS7_set_type ( PKCS7 * p7,
int type )

◆ PKCS7_sign()

PKCS7 * PKCS7_sign ( X509 * signcert,
EVP_PKEY * pkey,
STACK_OF(X509) * certs,
BIO * data,
int flags )

◆ PKCS7_sign_add_signer()

PKCS7_SIGNER_INFO * PKCS7_sign_add_signer ( PKCS7 * p7,
X509 * signcert,
EVP_PKEY * pkey,
const EVP_MD * md,
int flags )

◆ PKCS7_signatureVerify()

int PKCS7_signatureVerify ( BIO * bio,
PKCS7 * p7,
PKCS7_SIGNER_INFO * si,
X509 * x509 )

◆ PKCS7_SIGNER_INFO_get0_algs()

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

◆ PKCS7_SIGNER_INFO_set()

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

◆ PKCS7_SIGNER_INFO_sign()

int PKCS7_SIGNER_INFO_sign ( PKCS7_SIGNER_INFO * si)

◆ PKCS7_simple_smimecap()

int PKCS7_simple_smimecap ( STACK_OF(X509_ALGOR) * sk,
int nid,
int arg )

◆ PKCS7_stream()

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

◆ PKCS7_verify()

int PKCS7_verify ( PKCS7 * p7,
STACK_OF(X509) * certs,
X509_STORE * store,
BIO * indata,
BIO * out,
int flags )

◆ SMIME_read_PKCS7()

PKCS7 * SMIME_read_PKCS7 ( BIO * bio,
BIO ** bcont )

◆ SMIME_write_PKCS7()

int SMIME_write_PKCS7 ( BIO * bio,
PKCS7 * p7,
BIO * data,
int flags )

◆ STACK_OF() [1/3]

STACK_OF ( PKCS7_SIGNER_INFO )

◆ STACK_OF() [2/3]

STACK_OF ( X509 )

◆ STACK_OF() [3/3]

STACK_OF ( X509_ALGOR )

Variable Documentation

◆ flags

int flags

Definition at line 295 of file pkcs7.h.