OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
x509name.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>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 212 of file x509name.c.

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

Definition at line 186 of file x509name.c.

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

Definition at line 174 of file x509name.c.

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 198 of file x509name.c.

X509_NAME_ENTRY* X509_NAME_delete_entry ( X509_NAME name,
int  loc 
)

Definition at line 138 of file x509name.c.

int X509_NAME_entry_count ( X509_NAME name)

Definition at line 92 of file x509name.c.

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

Definition at line 294 of file x509name.c.

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

Definition at line 311 of file x509name.c.

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 275 of file x509name.c.

ASN1_STRING* X509_NAME_ENTRY_get_data ( X509_NAME_ENTRY ne)

Definition at line 378 of file x509name.c.

ASN1_OBJECT* X509_NAME_ENTRY_get_object ( X509_NAME_ENTRY ne)

Definition at line 372 of file x509name.c.

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

Definition at line 349 of file x509name.c.

int X509_NAME_ENTRY_set_object ( X509_NAME_ENTRY ne,
ASN1_OBJECT obj 
)

Definition at line 337 of file x509name.c.

X509_NAME_ENTRY* X509_NAME_get_entry ( X509_NAME name,
int  loc 
)

Definition at line 129 of file x509name.c.

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

Definition at line 98 of file x509name.c.

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

Definition at line 108 of file x509name.c.

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

Definition at line 67 of file x509name.c.

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

Definition at line 76 of file x509name.c.