Functions
x509_att.c File Reference
#include <openssl/asn1.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include "../asn1/internal.h"
#include "internal.h"
Include dependency graph for x509_att.c:

Go to the source code of this file.

Functions

 STACK_OF (X509_ATTRIBUTE)
 
int X509_ATTRIBUTE_count (const X509_ATTRIBUTE *attr)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_NID (X509_ATTRIBUTE **attr, int nid, int attrtype, const void *data, int len)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_OBJ (X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int attrtype, const void *data, int len)
 
X509_ATTRIBUTEX509_ATTRIBUTE_create_by_txt (X509_ATTRIBUTE **attr, const char *attrname, int type, const unsigned char *bytes, int len)
 
void * X509_ATTRIBUTE_get0_data (X509_ATTRIBUTE *attr, int idx, int attrtype, void *unused)
 
ASN1_OBJECTX509_ATTRIBUTE_get0_object (X509_ATTRIBUTE *attr)
 
ASN1_TYPEX509_ATTRIBUTE_get0_type (X509_ATTRIBUTE *attr, int idx)
 
int X509_ATTRIBUTE_set1_data (X509_ATTRIBUTE *attr, int attrtype, const void *data, int len)
 
int X509_ATTRIBUTE_set1_object (X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj)
 
X509_ATTRIBUTEX509at_delete_attr (STACK_OF(X509_ATTRIBUTE) *x, int loc)
 
X509_ATTRIBUTEX509at_get_attr (const STACK_OF(X509_ATTRIBUTE) *x, int loc)
 
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, const ASN1_OBJECT *obj, int lastpos)
 
int X509at_get_attr_count (const STACK_OF(X509_ATTRIBUTE) *x)
 

Function Documentation

◆ STACK_OF()

STACK_OF ( X509_ATTRIBUTE  )

Definition at line 122 of file x509_att.c.

◆ X509_ATTRIBUTE_count()

int X509_ATTRIBUTE_count ( const X509_ATTRIBUTE attr)

Definition at line 325 of file x509_att.c.

◆ X509_ATTRIBUTE_create_by_NID()

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

Definition at line 203 of file x509_att.c.

◆ X509_ATTRIBUTE_create_by_OBJ()

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

Definition at line 217 of file x509_att.c.

◆ X509_ATTRIBUTE_create_by_txt()

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

Definition at line 246 of file x509_att.c.

◆ X509_ATTRIBUTE_get0_data()

void* X509_ATTRIBUTE_get0_data ( X509_ATTRIBUTE attr,
int  idx,
int  attrtype,
void *  unused 
)

Definition at line 337 of file x509_att.c.

◆ X509_ATTRIBUTE_get0_object()

ASN1_OBJECT* X509_ATTRIBUTE_get0_object ( X509_ATTRIBUTE attr)

Definition at line 330 of file x509_att.c.

◆ X509_ATTRIBUTE_get0_type()

ASN1_TYPE* X509_ATTRIBUTE_get0_type ( X509_ATTRIBUTE attr,
int  idx 
)

Definition at line 351 of file x509_att.c.

◆ X509_ATTRIBUTE_set1_data()

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

Definition at line 274 of file x509_att.c.

◆ X509_ATTRIBUTE_set1_object()

int X509_ATTRIBUTE_set1_object ( X509_ATTRIBUTE attr,
const ASN1_OBJECT obj 
)

Definition at line 265 of file x509_att.c.

◆ X509at_delete_attr()

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

Definition at line 112 of file x509_att.c.

◆ X509at_get_attr()

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

Definition at line 104 of file x509_att.c.

◆ X509at_get_attr_by_NID()

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

Definition at line 74 of file x509_att.c.

◆ X509at_get_attr_by_OBJ()

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

Definition at line 84 of file x509_att.c.

◆ X509at_get_attr_count()

int X509at_get_attr_count ( const STACK_OF(X509_ATTRIBUTE) *  x)

Definition at line 69 of file x509_att.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:38