OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
v3_utl.c File Reference
#include <stdio.h>
#include <ctype.h>
#include "cryptlib.h"
#include <openssl/conf.h>
#include <openssl/x509v3.h>
#include <openssl/bn.h>

Go to the source code of this file.

Classes

struct  IPV6_STAT
 

Macros

#define HDR_NAME   1
 
#define HDR_VALUE   2
 

Functions

int X509V3_add_value_uchar (const char *name, const unsigned char *value, STACK_OF(CONF_VALUE)**extlist)
 
void X509V3_conf_free (CONF_VALUE *conf)
 
int X509V3_add_value_bool (const char *name, int asn1_bool, STACK_OF(CONF_VALUE)**extlist)
 
int X509V3_add_value_bool_nf (char *name, int asn1_bool, STACK_OF(CONF_VALUE)**extlist)
 
char * i2s_ASN1_ENUMERATED (X509V3_EXT_METHOD *method, ASN1_ENUMERATED *a)
 
char * i2s_ASN1_INTEGER (X509V3_EXT_METHOD *method, ASN1_INTEGER *a)
 
ASN1_INTEGERs2i_ASN1_INTEGER (X509V3_EXT_METHOD *method, char *value)
 
int X509V3_add_value_int (const char *name, ASN1_INTEGER *aint, STACK_OF(CONF_VALUE)**extlist)
 
int X509V3_get_value_bool (CONF_VALUE *value, int *asn1_bool)
 
int X509V3_get_value_int (CONF_VALUE *value, ASN1_INTEGER **aint)
 
 STACK_OF (CONF_VALUE)
 
char * hex_to_string (const unsigned char *buffer, long len)
 
unsigned char * string_to_hex (const char *str, long *len)
 
int name_cmp (const char *name, const char *cmp)
 
void X509_email_free (STACK_OF(OPENSSL_STRING)*sk)
 
ASN1_OCTET_STRINGa2i_IPADDRESS (const char *ipasc)
 
ASN1_OCTET_STRINGa2i_IPADDRESS_NC (const char *ipasc)
 
int a2i_ipadd (unsigned char *ipout, const char *ipasc)
 
int X509V3_NAME_from_section (X509_NAME *nm, STACK_OF(CONF_VALUE)*dn_sk, unsigned long chtype)
 

Macro Definition Documentation

#define HDR_NAME   1

Definition at line 245 of file v3_utl.c.

#define HDR_VALUE   2

Definition at line 246 of file v3_utl.c.

Function Documentation

int a2i_ipadd ( unsigned char *  ipout,
const char *  ipasc 
)

Definition at line 644 of file v3_utl.c.

ASN1_OCTET_STRING* a2i_IPADDRESS ( const char *  ipasc)

Definition at line 575 of file v3_utl.c.

ASN1_OCTET_STRING* a2i_IPADDRESS_NC ( const char *  ipasc)

Definition at line 599 of file v3_utl.c.

char* hex_to_string ( const unsigned char *  buffer,
long  len 
)

Definition at line 363 of file v3_utl.c.

char* i2s_ASN1_ENUMERATED ( X509V3_EXT_METHOD method,
ASN1_ENUMERATED a 
)

Definition at line 135 of file v3_utl.c.

char* i2s_ASN1_INTEGER ( X509V3_EXT_METHOD method,
ASN1_INTEGER a 
)

Definition at line 147 of file v3_utl.c.

int name_cmp ( const char *  name,
const char *  cmp 
)

Definition at line 450 of file v3_utl.c.

ASN1_INTEGER* s2i_ASN1_INTEGER ( X509V3_EXT_METHOD method,
char *  value 
)

Definition at line 159 of file v3_utl.c.

STACK_OF ( CONF_VALUE  )

Definition at line 250 of file v3_utl.c.

unsigned char* string_to_hex ( const char *  str,
long *  len 
)

Definition at line 392 of file v3_utl.c.

void X509_email_free ( STACK_OF(OPENSSL_STRING)*  sk)

Definition at line 566 of file v3_utl.c.

int X509V3_add_value_bool ( const char *  name,
int  asn1_bool,
STACK_OF(CONF_VALUE)**  extlist 
)

Definition at line 120 of file v3_utl.c.

int X509V3_add_value_bool_nf ( char *  name,
int  asn1_bool,
STACK_OF(CONF_VALUE)**  extlist 
)

Definition at line 127 of file v3_utl.c.

int X509V3_add_value_int ( const char *  name,
ASN1_INTEGER aint,
STACK_OF(CONF_VALUE)**  extlist 
)

Definition at line 201 of file v3_utl.c.

int X509V3_add_value_uchar ( const char *  name,
const unsigned char *  value,
STACK_OF(CONF_VALUE)**  extlist 
)

Definition at line 103 of file v3_utl.c.

void X509V3_conf_free ( CONF_VALUE conf)

Definition at line 111 of file v3_utl.c.

int X509V3_get_value_bool ( CONF_VALUE value,
int *  asn1_bool 
)

Definition at line 213 of file v3_utl.c.

int X509V3_get_value_int ( CONF_VALUE value,
ASN1_INTEGER **  aint 
)

Definition at line 234 of file v3_utl.c.

int X509V3_NAME_from_section ( X509_NAME nm,
STACK_OF(CONF_VALUE)*  dn_sk,
unsigned long  chtype 
)

Definition at line 830 of file v3_utl.c.