OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
cms_att.c File Reference
#include <openssl/asn1t.h>
#include <openssl/pem.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include "cms.h"
#include "cms_lcl.h"

Go to the source code of this file.

Functions

int CMS_signed_get_attr_count (const CMS_SignerInfo *si)
 
int CMS_signed_get_attr_by_NID (const CMS_SignerInfo *si, int nid, int lastpos)
 
int CMS_signed_get_attr_by_OBJ (const CMS_SignerInfo *si, ASN1_OBJECT *obj, int lastpos)
 
X509_ATTRIBUTECMS_signed_get_attr (const CMS_SignerInfo *si, int loc)
 
X509_ATTRIBUTECMS_signed_delete_attr (CMS_SignerInfo *si, int loc)
 
int CMS_signed_add1_attr (CMS_SignerInfo *si, X509_ATTRIBUTE *attr)
 
int CMS_signed_add1_attr_by_OBJ (CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len)
 
int CMS_signed_add1_attr_by_NID (CMS_SignerInfo *si, int nid, int type, const void *bytes, int len)
 
int CMS_signed_add1_attr_by_txt (CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len)
 
voidCMS_signed_get0_data_by_OBJ (CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type)
 
int CMS_unsigned_get_attr_count (const CMS_SignerInfo *si)
 
int CMS_unsigned_get_attr_by_NID (const CMS_SignerInfo *si, int nid, int lastpos)
 
int CMS_unsigned_get_attr_by_OBJ (const CMS_SignerInfo *si, ASN1_OBJECT *obj, int lastpos)
 
X509_ATTRIBUTECMS_unsigned_get_attr (const CMS_SignerInfo *si, int loc)
 
X509_ATTRIBUTECMS_unsigned_delete_attr (CMS_SignerInfo *si, int loc)
 
int CMS_unsigned_add1_attr (CMS_SignerInfo *si, X509_ATTRIBUTE *attr)
 
int CMS_unsigned_add1_attr_by_OBJ (CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len)
 
int CMS_unsigned_add1_attr_by_NID (CMS_SignerInfo *si, int nid, int type, const void *bytes, int len)
 
int CMS_unsigned_add1_attr_by_txt (CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len)
 
voidCMS_unsigned_get0_data_by_OBJ (CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type)
 

Function Documentation

int CMS_signed_add1_attr ( CMS_SignerInfo si,
X509_ATTRIBUTE attr 
)

Definition at line 90 of file cms_att.c.

int CMS_signed_add1_attr_by_NID ( CMS_SignerInfo si,
int  nid,
int  type,
const void bytes,
int  len 
)

Definition at line 105 of file cms_att.c.

int CMS_signed_add1_attr_by_OBJ ( CMS_SignerInfo si,
const ASN1_OBJECT obj,
int  type,
const void bytes,
int  len 
)

Definition at line 96 of file cms_att.c.

int CMS_signed_add1_attr_by_txt ( CMS_SignerInfo si,
const char *  attrname,
int  type,
const void bytes,
int  len 
)

Definition at line 114 of file cms_att.c.

X509_ATTRIBUTE* CMS_signed_delete_attr ( CMS_SignerInfo si,
int  loc 
)

Definition at line 85 of file cms_att.c.

void* CMS_signed_get0_data_by_OBJ ( CMS_SignerInfo si,
ASN1_OBJECT oid,
int  lastpos,
int  type 
)

Definition at line 123 of file cms_att.c.

X509_ATTRIBUTE* CMS_signed_get_attr ( const CMS_SignerInfo si,
int  loc 
)

Definition at line 80 of file cms_att.c.

int CMS_signed_get_attr_by_NID ( const CMS_SignerInfo si,
int  nid,
int  lastpos 
)

Definition at line 68 of file cms_att.c.

int CMS_signed_get_attr_by_OBJ ( const CMS_SignerInfo si,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 74 of file cms_att.c.

int CMS_signed_get_attr_count ( const CMS_SignerInfo si)

Definition at line 63 of file cms_att.c.

int CMS_unsigned_add1_attr ( CMS_SignerInfo si,
X509_ATTRIBUTE attr 
)

Definition at line 156 of file cms_att.c.

int CMS_unsigned_add1_attr_by_NID ( CMS_SignerInfo si,
int  nid,
int  type,
const void bytes,
int  len 
)

Definition at line 171 of file cms_att.c.

int CMS_unsigned_add1_attr_by_OBJ ( CMS_SignerInfo si,
const ASN1_OBJECT obj,
int  type,
const void bytes,
int  len 
)

Definition at line 162 of file cms_att.c.

int CMS_unsigned_add1_attr_by_txt ( CMS_SignerInfo si,
const char *  attrname,
int  type,
const void bytes,
int  len 
)

Definition at line 180 of file cms_att.c.

X509_ATTRIBUTE* CMS_unsigned_delete_attr ( CMS_SignerInfo si,
int  loc 
)

Definition at line 151 of file cms_att.c.

void* CMS_unsigned_get0_data_by_OBJ ( CMS_SignerInfo si,
ASN1_OBJECT oid,
int  lastpos,
int  type 
)

Definition at line 189 of file cms_att.c.

X509_ATTRIBUTE* CMS_unsigned_get_attr ( const CMS_SignerInfo si,
int  loc 
)

Definition at line 146 of file cms_att.c.

int CMS_unsigned_get_attr_by_NID ( const CMS_SignerInfo si,
int  nid,
int  lastpos 
)

Definition at line 134 of file cms_att.c.

int CMS_unsigned_get_attr_by_OBJ ( const CMS_SignerInfo si,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 140 of file cms_att.c.

int CMS_unsigned_get_attr_count ( const CMS_SignerInfo si)

Definition at line 129 of file cms_att.c.