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

Go to the source code of this file.

Functions

BIOPKCS7_dataInit (PKCS7 *p7, BIO *bio)
 
BIOPKCS7_dataDecode (PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert)
 
int PKCS7_dataFinal (PKCS7 *p7, BIO *bio)
 
int PKCS7_SIGNER_INFO_sign (PKCS7_SIGNER_INFO *si)
 
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)
 
PKCS7_ISSUER_AND_SERIALPKCS7_get_issuer_and_serial (PKCS7 *p7, int idx)
 
ASN1_TYPEPKCS7_get_signed_attribute (PKCS7_SIGNER_INFO *si, int nid)
 
ASN1_TYPEPKCS7_get_attribute (PKCS7_SIGNER_INFO *si, int nid)
 
ASN1_OCTET_STRINGPKCS7_digest_from_attributes (STACK_OF(X509_ATTRIBUTE)*sk)
 
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)
 
int PKCS7_add_signed_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value)
 
int PKCS7_add_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value)
 

Function Documentation

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

Definition at line 1248 of file pk7_doit.c.

int PKCS7_add_signed_attribute ( PKCS7_SIGNER_INFO p7si,
int  nid,
int  atrtype,
void value 
)

Definition at line 1242 of file pk7_doit.c.

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

Definition at line 420 of file pk7_doit.c.

int PKCS7_dataFinal ( PKCS7 p7,
BIO bio 
)

Definition at line 739 of file pk7_doit.c.

BIO* PKCS7_dataInit ( PKCS7 p7,
BIO bio 
)

Definition at line 263 of file pk7_doit.c.

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

Definition at line 960 of file pk7_doit.c.

ASN1_OCTET_STRING* PKCS7_digest_from_attributes ( STACK_OF(X509_ATTRIBUTE)*  sk)

Definition at line 1195 of file pk7_doit.c.

ASN1_TYPE* PKCS7_get_attribute ( PKCS7_SIGNER_INFO si,
int  nid 
)

Definition at line 1168 of file pk7_doit.c.

PKCS7_ISSUER_AND_SERIAL* PKCS7_get_issuer_and_serial ( PKCS7 p7,
int  idx 
)

Definition at line 1143 of file pk7_doit.c.

ASN1_TYPE* PKCS7_get_signed_attribute ( PKCS7_SIGNER_INFO si,
int  nid 
)

Definition at line 1163 of file pk7_doit.c.

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

Definition at line 1222 of file pk7_doit.c.

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

Definition at line 1202 of file pk7_doit.c.

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

Definition at line 1014 of file pk7_doit.c.

int PKCS7_SIGNER_INFO_sign ( PKCS7_SIGNER_INFO si)

Definition at line 900 of file pk7_doit.c.