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

Go to the source code of this file.

Functions

int X509at_get_attr_count (const STACK_OF(X509_ATTRIBUTE)*x)
 
int X509at_get_attr_by_NID (const STACK_OF(X509_ATTRIBUTE)*x, int nid, int lastpos)
 
int X509at_get_attr_by_OBJ (const STACK_OF(X509_ATTRIBUTE)*sk, ASN1_OBJECT *obj, int lastpos)
 
X509_ATTRIBUTEX509at_get_attr (const STACK_OF(X509_ATTRIBUTE)*x, int loc)
 
X509_ATTRIBUTEX509at_delete_attr (STACK_OF(X509_ATTRIBUTE)*x, int loc)
 
 STACK_OF (X509_ATTRIBUTE)
 
voidX509at_get0_data_by_OBJ (STACK_OF(X509_ATTRIBUTE)*x, ASN1_OBJECT *obj, int lastpos, int type)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_NID (X509_ATTRIBUTE **attr, int nid, int atrtype, const void *data, int len)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_OBJ (X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_txt (X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len)
 
int X509_ATTRIBUTE_set1_object (X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj)
 
int X509_ATTRIBUTE_set1_data (X509_ATTRIBUTE *attr, int attrtype, const void *data, int len)
 
int X509_ATTRIBUTE_count (X509_ATTRIBUTE *attr)
 
ASN1_OBJECTX509_ATTRIBUTE_get0_object (X509_ATTRIBUTE *attr)
 
voidX509_ATTRIBUTE_get0_data (X509_ATTRIBUTE *attr, int idx, int atrtype, void *data)
 
ASN1_TYPEX509_ATTRIBUTE_get0_type (X509_ATTRIBUTE *attr, int idx)
 

Function Documentation

STACK_OF ( X509_ATTRIBUTE  )

Definition at line 121 of file x509_att.c.

int X509_ATTRIBUTE_count ( X509_ATTRIBUTE attr)

Definition at line 327 of file x509_att.c.

X509_ATTRIBUTE* X509_ATTRIBUTE_create_by_NID ( X509_ATTRIBUTE **  attr,
int  nid,
int  atrtype,
const void data,
int  len 
)

Definition at line 211 of file x509_att.c.

X509_ATTRIBUTE* X509_ATTRIBUTE_create_by_OBJ ( X509_ATTRIBUTE **  attr,
const ASN1_OBJECT obj,
int  atrtype,
const void data,
int  len 
)

Definition at line 228 of file x509_att.c.

X509_ATTRIBUTE* X509_ATTRIBUTE_create_by_txt ( X509_ATTRIBUTE **  attr,
const char *  atrname,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 257 of file x509_att.c.

void* X509_ATTRIBUTE_get0_data ( X509_ATTRIBUTE attr,
int  idx,
int  atrtype,
void data 
)

Definition at line 340 of file x509_att.c.

ASN1_OBJECT* X509_ATTRIBUTE_get0_object ( X509_ATTRIBUTE attr)

Definition at line 334 of file x509_att.c.

ASN1_TYPE* X509_ATTRIBUTE_get0_type ( X509_ATTRIBUTE attr,
int  idx 
)

Definition at line 353 of file x509_att.c.

int X509_ATTRIBUTE_set1_data ( X509_ATTRIBUTE attr,
int  attrtype,
const void data,
int  len 
)

Definition at line 285 of file x509_att.c.

int X509_ATTRIBUTE_set1_object ( X509_ATTRIBUTE attr,
const ASN1_OBJECT obj 
)

Definition at line 276 of file x509_att.c.

X509_ATTRIBUTE* X509at_delete_attr ( STACK_OF(X509_ATTRIBUTE)*  x,
int  loc 
)

Definition at line 111 of file x509_att.c.

void* X509at_get0_data_by_OBJ ( STACK_OF(X509_ATTRIBUTE)*  x,
ASN1_OBJECT obj,
int  lastpos,
int  type 
)

Definition at line 195 of file x509_att.c.

X509_ATTRIBUTE* X509at_get_attr ( const STACK_OF(X509_ATTRIBUTE)*  x,
int  loc 
)

Definition at line 103 of file x509_att.c.

int X509at_get_attr_by_NID ( const STACK_OF(X509_ATTRIBUTE)*  x,
int  nid,
int  lastpos 
)

Definition at line 73 of file x509_att.c.

int X509at_get_attr_by_OBJ ( const STACK_OF(X509_ATTRIBUTE)*  sk,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 83 of file x509_att.c.

int X509at_get_attr_count ( const STACK_OF(X509_ATTRIBUTE)*  x)

Definition at line 68 of file x509_att.c.