OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
x509_v3.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 X509v3_get_ext_count (const STACK_OF(X509_EXTENSION)*x)
 
int X509v3_get_ext_by_NID (const STACK_OF(X509_EXTENSION)*x, int nid, int lastpos)
 
int X509v3_get_ext_by_OBJ (const STACK_OF(X509_EXTENSION)*sk, ASN1_OBJECT *obj, int lastpos)
 
int X509v3_get_ext_by_critical (const STACK_OF(X509_EXTENSION)*sk, int crit, int lastpos)
 
X509_EXTENSIONX509v3_get_ext (const STACK_OF(X509_EXTENSION)*x, int loc)
 
X509_EXTENSIONX509v3_delete_ext (STACK_OF(X509_EXTENSION)*x, int loc)
 
 STACK_OF (X509_EXTENSION)
 
X509_EXTENSIONX509_EXTENSION_create_by_NID (X509_EXTENSION **ex, int nid, int crit, ASN1_OCTET_STRING *data)
 
X509_EXTENSIONX509_EXTENSION_create_by_OBJ (X509_EXTENSION **ex, ASN1_OBJECT *obj, int crit, ASN1_OCTET_STRING *data)
 
int X509_EXTENSION_set_object (X509_EXTENSION *ex, ASN1_OBJECT *obj)
 
int X509_EXTENSION_set_critical (X509_EXTENSION *ex, int crit)
 
int X509_EXTENSION_set_data (X509_EXTENSION *ex, ASN1_OCTET_STRING *data)
 
ASN1_OBJECTX509_EXTENSION_get_object (X509_EXTENSION *ex)
 
ASN1_OCTET_STRINGX509_EXTENSION_get_data (X509_EXTENSION *ex)
 
int X509_EXTENSION_get_critical (X509_EXTENSION *ex)
 

Function Documentation

STACK_OF ( X509_EXTENSION  )

Definition at line 143 of file x509_v3.c.

X509_EXTENSION* X509_EXTENSION_create_by_NID ( X509_EXTENSION **  ex,
int  nid,
int  crit,
ASN1_OCTET_STRING data 
)

Definition at line 183 of file x509_v3.c.

X509_EXTENSION* X509_EXTENSION_create_by_OBJ ( X509_EXTENSION **  ex,
ASN1_OBJECT obj,
int  crit,
ASN1_OCTET_STRING data 
)

Definition at line 200 of file x509_v3.c.

int X509_EXTENSION_get_critical ( X509_EXTENSION ex)

Definition at line 269 of file x509_v3.c.

ASN1_OCTET_STRING* X509_EXTENSION_get_data ( X509_EXTENSION ex)

Definition at line 263 of file x509_v3.c.

ASN1_OBJECT* X509_EXTENSION_get_object ( X509_EXTENSION ex)

Definition at line 257 of file x509_v3.c.

int X509_EXTENSION_set_critical ( X509_EXTENSION ex,
int  crit 
)

Definition at line 240 of file x509_v3.c.

int X509_EXTENSION_set_data ( X509_EXTENSION ex,
ASN1_OCTET_STRING data 
)

Definition at line 247 of file x509_v3.c.

int X509_EXTENSION_set_object ( X509_EXTENSION ex,
ASN1_OBJECT obj 
)

Definition at line 231 of file x509_v3.c.

X509_EXTENSION* X509v3_delete_ext ( STACK_OF(X509_EXTENSION)*  x,
int  loc 
)

Definition at line 133 of file x509_v3.c.

X509_EXTENSION* X509v3_get_ext ( const STACK_OF(X509_EXTENSION)*  x,
int  loc 
)

Definition at line 125 of file x509_v3.c.

int X509v3_get_ext_by_critical ( const STACK_OF(X509_EXTENSION)*  sk,
int  crit,
int  lastpos 
)

Definition at line 104 of file x509_v3.c.

int X509v3_get_ext_by_NID ( const STACK_OF(X509_EXTENSION)*  x,
int  nid,
int  lastpos 
)

Definition at line 74 of file x509_v3.c.

int X509v3_get_ext_by_OBJ ( const STACK_OF(X509_EXTENSION)*  sk,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 84 of file x509_v3.c.

int X509v3_get_ext_count ( const STACK_OF(X509_EXTENSION)*  x)

Definition at line 68 of file x509_v3.c.