Functions
x509name.c File Reference
#include <string.h>
#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 "../internal.h"
#include "internal.h"
Include dependency graph for x509name.c:

Go to the source code of this file.

Functions

int X509_NAME_add_entry (X509_NAME *name, X509_NAME_ENTRY *ne, int loc, int set)
 
int X509_NAME_add_entry_by_NID (X509_NAME *name, int nid, int type, const unsigned char *bytes, int len, int loc, int set)
 
int X509_NAME_add_entry_by_OBJ (X509_NAME *name, ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len, int loc, int set)
 
int X509_NAME_add_entry_by_txt (X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set)
 
X509_NAME_ENTRYX509_NAME_delete_entry (X509_NAME *name, int loc)
 
int X509_NAME_entry_count (const X509_NAME *name)
 
X509_NAME_ENTRYX509_NAME_ENTRY_create_by_NID (X509_NAME_ENTRY **ne, int nid, int type, const unsigned char *bytes, int len)
 
X509_NAME_ENTRYX509_NAME_ENTRY_create_by_OBJ (X509_NAME_ENTRY **ne, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len)
 
X509_NAME_ENTRYX509_NAME_ENTRY_create_by_txt (X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len)
 
ASN1_STRINGX509_NAME_ENTRY_get_data (const X509_NAME_ENTRY *ne)
 
ASN1_OBJECTX509_NAME_ENTRY_get_object (const X509_NAME_ENTRY *ne)
 
int X509_NAME_ENTRY_set_data (X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len)
 
int X509_NAME_ENTRY_set_object (X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj)
 
X509_NAME_ENTRYX509_NAME_get_entry (const X509_NAME *name, int loc)
 
int X509_NAME_get_index_by_NID (const X509_NAME *name, int nid, int lastpos)
 
int X509_NAME_get_index_by_OBJ (const X509_NAME *name, const ASN1_OBJECT *obj, int lastpos)
 
int X509_NAME_get_text_by_NID (const X509_NAME *name, int nid, char *buf, int len)
 
int X509_NAME_get_text_by_OBJ (const X509_NAME *name, const ASN1_OBJECT *obj, char *buf, int len)
 

Function Documentation

◆ X509_NAME_add_entry()

int X509_NAME_add_entry ( X509_NAME name,
X509_NAME_ENTRY ne,
int  loc,
int  set 
)

Definition at line 227 of file x509name.c.

◆ X509_NAME_add_entry_by_NID()

int X509_NAME_add_entry_by_NID ( X509_NAME name,
int  nid,
int  type,
const unsigned char *  bytes,
int  len,
int  loc,
int  set 
)

Definition at line 195 of file x509name.c.

◆ X509_NAME_add_entry_by_OBJ()

int X509_NAME_add_entry_by_OBJ ( X509_NAME name,
ASN1_OBJECT obj,
int  type,
const unsigned char *  bytes,
int  len,
int  loc,
int  set 
)

Definition at line 181 of file x509name.c.

◆ X509_NAME_add_entry_by_txt()

int X509_NAME_add_entry_by_txt ( X509_NAME name,
const char *  field,
int  type,
const unsigned char *  bytes,
int  len,
int  loc,
int  set 
)

Definition at line 209 of file x509name.c.

◆ X509_NAME_delete_entry()

X509_NAME_ENTRY* X509_NAME_delete_entry ( X509_NAME name,
int  loc 
)

Definition at line 147 of file x509name.c.

◆ X509_NAME_entry_count()

int X509_NAME_entry_count ( const X509_NAME name)

Definition at line 99 of file x509name.c.

◆ X509_NAME_ENTRY_create_by_NID()

X509_NAME_ENTRY* X509_NAME_ENTRY_create_by_NID ( X509_NAME_ENTRY **  ne,
int  nid,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 302 of file x509name.c.

◆ X509_NAME_ENTRY_create_by_OBJ()

X509_NAME_ENTRY* X509_NAME_ENTRY_create_by_OBJ ( X509_NAME_ENTRY **  ne,
const ASN1_OBJECT obj,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 315 of file x509name.c.

◆ X509_NAME_ENTRY_create_by_txt()

X509_NAME_ENTRY* X509_NAME_ENTRY_create_by_txt ( X509_NAME_ENTRY **  ne,
const char *  field,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 283 of file x509name.c.

◆ X509_NAME_ENTRY_get_data()

ASN1_STRING* X509_NAME_ENTRY_get_data ( const X509_NAME_ENTRY ne)

Definition at line 383 of file x509name.c.

◆ X509_NAME_ENTRY_get_object()

ASN1_OBJECT* X509_NAME_ENTRY_get_object ( const X509_NAME_ENTRY ne)

Definition at line 376 of file x509name.c.

◆ X509_NAME_ENTRY_set_data()

int X509_NAME_ENTRY_set_data ( X509_NAME_ENTRY ne,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 354 of file x509name.c.

◆ X509_NAME_ENTRY_set_object()

int X509_NAME_ENTRY_set_object ( X509_NAME_ENTRY ne,
const ASN1_OBJECT obj 
)

Definition at line 343 of file x509name.c.

◆ X509_NAME_get_entry()

X509_NAME_ENTRY* X509_NAME_get_entry ( const X509_NAME name,
int  loc 
)

Definition at line 138 of file x509name.c.

◆ X509_NAME_get_index_by_NID()

int X509_NAME_get_index_by_NID ( const X509_NAME name,
int  nid,
int  lastpos 
)

Definition at line 106 of file x509name.c.

◆ X509_NAME_get_index_by_OBJ()

int X509_NAME_get_index_by_OBJ ( const X509_NAME name,
const ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 117 of file x509name.c.

◆ X509_NAME_get_text_by_NID()

int X509_NAME_get_text_by_NID ( const X509_NAME name,
int  nid,
char *  buf,
int  len 
)

Definition at line 70 of file x509name.c.

◆ X509_NAME_get_text_by_OBJ()

int X509_NAME_get_text_by_OBJ ( const X509_NAME name,
const ASN1_OBJECT obj,
char *  buf,
int  len 
)

Definition at line 81 of file x509name.c.



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