x509v3.h File Reference

#include <openssl/bio.h>
#include <openssl/x509.h>
#include <openssl/conf.h>

Go to the source code of this file.

Data Structures

struct  v3_ext_method
struct  X509V3_CONF_METHOD_st
struct  v3_ext_ctx
struct  BASIC_CONSTRAINTS_st
struct  PKEY_USAGE_PERIOD_st
struct  otherName_st
struct  EDIPartyName_st
struct  GENERAL_NAME_st
struct  ACCESS_DESCRIPTION_st
struct  DIST_POINT_NAME_st
struct  DIST_POINT_st
struct  AUTHORITY_KEYID_st
struct  SXNET_ID_st
struct  SXNET_st
struct  NOTICEREF_st
struct  USERNOTICE_st
struct  POLICYQUALINFO_st
struct  POLICYINFO_st
struct  POLICY_MAPPING_st
struct  GENERAL_SUBTREE_st
struct  NAME_CONSTRAINTS_st
struct  POLICY_CONSTRAINTS_st
struct  PROXY_POLICY_st
struct  PROXY_CERT_INFO_EXTENSION_st
struct  x509_purpose_st
struct  ASRange_st
struct  ASIdOrRange_st
struct  ASIdentifierChoice_st
struct  ASIdentifiers_st
struct  IPAddressRange_st
struct  IPAddressOrRange_st
struct  IPAddressChoice_st
struct  IPAddressFamily_st

Defines

#define CTX_TEST   0x1
#define X509V3_EXT_DYNAMIC   0x1
#define X509V3_EXT_CTX_DEP   0x2
#define X509V3_EXT_MULTILINE   0x4
#define GEN_OTHERNAME   0
#define GEN_EMAIL   1
#define GEN_DNS   2
#define GEN_X400   3
#define GEN_DIRNAME   4
#define GEN_EDIPARTY   5
#define GEN_URI   6
#define GEN_IPADD   7
#define GEN_RID   8
#define X509V3_conf_err(val)
#define X509V3_set_ctx_test(ctx)   X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)
#define X509V3_set_ctx_nodb(ctx)   (ctx)->db = NULL;
#define EXT_BITSTRING(nid, table)
#define EXT_IA5STRING(nid)
#define EXT_END   { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
#define EXFLAG_BCONS   0x1
#define EXFLAG_KUSAGE   0x2
#define EXFLAG_XKUSAGE   0x4
#define EXFLAG_NSCERT   0x8
#define EXFLAG_CA   0x10
#define EXFLAG_SS   0x20
#define EXFLAG_V1   0x40
#define EXFLAG_INVALID   0x80
#define EXFLAG_SET   0x100
#define EXFLAG_CRITICAL   0x200
#define EXFLAG_PROXY   0x400
#define EXFLAG_INVALID_POLICY   0x400
#define KU_DIGITAL_SIGNATURE   0x0080
#define KU_NON_REPUDIATION   0x0040
#define KU_KEY_ENCIPHERMENT   0x0020
#define KU_DATA_ENCIPHERMENT   0x0010
#define KU_KEY_AGREEMENT   0x0008
#define KU_KEY_CERT_SIGN   0x0004
#define KU_CRL_SIGN   0x0002
#define KU_ENCIPHER_ONLY   0x0001
#define KU_DECIPHER_ONLY   0x8000
#define NS_SSL_CLIENT   0x80
#define NS_SSL_SERVER   0x40
#define NS_SMIME   0x20
#define NS_OBJSIGN   0x10
#define NS_SSL_CA   0x04
#define NS_SMIME_CA   0x02
#define NS_OBJSIGN_CA   0x01
#define NS_ANY_CA   (NS_SSL_CA|NS_SMIME_CA|NS_OBJSIGN_CA)
#define XKU_SSL_SERVER   0x1
#define XKU_SSL_CLIENT   0x2
#define XKU_SMIME   0x4
#define XKU_CODE_SIGN   0x8
#define XKU_SGC   0x10
#define XKU_OCSP_SIGN   0x20
#define XKU_TIMESTAMP   0x40
#define XKU_DVCS   0x80
#define X509_PURPOSE_DYNAMIC   0x1
#define X509_PURPOSE_DYNAMIC_NAME   0x2
#define X509_PURPOSE_SSL_CLIENT   1
#define X509_PURPOSE_SSL_SERVER   2
#define X509_PURPOSE_NS_SSL_SERVER   3
#define X509_PURPOSE_SMIME_SIGN   4
#define X509_PURPOSE_SMIME_ENCRYPT   5
#define X509_PURPOSE_CRL_SIGN   6
#define X509_PURPOSE_ANY   7
#define X509_PURPOSE_OCSP_HELPER   8
#define X509_PURPOSE_MIN   1
#define X509_PURPOSE_MAX   8
#define X509V3_EXT_UNKNOWN_MASK   (0xfL << 16)
#define X509V3_EXT_DEFAULT   0
#define X509V3_EXT_ERROR_UNKNOWN   (1L << 16)
#define X509V3_EXT_PARSE_UNKNOWN   (2L << 16)
#define X509V3_EXT_DUMP_UNKNOWN   (3L << 16)
#define X509V3_ADD_OP_MASK   0xfL
#define X509V3_ADD_DEFAULT   0L
#define X509V3_ADD_APPEND   1L
#define X509V3_ADD_REPLACE   2L
#define X509V3_ADD_REPLACE_EXISTING   3L
#define X509V3_ADD_KEEP_EXISTING   4L
#define X509V3_ADD_DELETE   5L
#define X509V3_ADD_SILENT   0x10
#define ASIdOrRange_id   0
#define ASIdOrRange_range   1
#define ASIdentifierChoice_inherit   0
#define ASIdentifierChoice_asIdsOrRanges   1
#define IPAddressOrRange_addressPrefix   0
#define IPAddressOrRange_addressRange   1
#define IPAddressChoice_inherit   0
#define IPAddressChoice_addressesOrRanges   1
#define V3_ASID_ASNUM   0
#define V3_ASID_RDI   1
#define IANA_AFI_IPV4   1
#define IANA_AFI_IPV6   2
#define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE   156
#define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL   157
#define X509V3_F_COPY_EMAIL   122
#define X509V3_F_COPY_ISSUER   123
#define X509V3_F_DO_DIRNAME   144
#define X509V3_F_DO_EXT_CONF   124
#define X509V3_F_DO_EXT_I2D   135
#define X509V3_F_DO_EXT_NCONF   151
#define X509V3_F_DO_I2V_NAME_CONSTRAINTS   148
#define X509V3_F_HEX_TO_STRING   111
#define X509V3_F_I2S_ASN1_ENUMERATED   121
#define X509V3_F_I2S_ASN1_IA5STRING   149
#define X509V3_F_I2S_ASN1_INTEGER   120
#define X509V3_F_I2V_AUTHORITY_INFO_ACCESS   138
#define X509V3_F_NOTICE_SECTION   132
#define X509V3_F_NREF_NOS   133
#define X509V3_F_POLICY_SECTION   131
#define X509V3_F_PROCESS_PCI_VALUE   150
#define X509V3_F_R2I_CERTPOL   130
#define X509V3_F_R2I_PCI   155
#define X509V3_F_S2I_ASN1_IA5STRING   100
#define X509V3_F_S2I_ASN1_INTEGER   108
#define X509V3_F_S2I_ASN1_OCTET_STRING   112
#define X509V3_F_S2I_ASN1_SKEY_ID   114
#define X509V3_F_S2I_SKEY_ID   115
#define X509V3_F_STRING_TO_HEX   113
#define X509V3_F_SXNET_ADD_ID_ASC   125
#define X509V3_F_SXNET_ADD_ID_INTEGER   126
#define X509V3_F_SXNET_ADD_ID_ULONG   127
#define X509V3_F_SXNET_GET_ID_ASC   128
#define X509V3_F_SXNET_GET_ID_ULONG   129
#define X509V3_F_V2I_ASIDENTIFIERS   158
#define X509V3_F_V2I_ASN1_BIT_STRING   101
#define X509V3_F_V2I_AUTHORITY_INFO_ACCESS   139
#define X509V3_F_V2I_AUTHORITY_KEYID   119
#define X509V3_F_V2I_BASIC_CONSTRAINTS   102
#define X509V3_F_V2I_CRLD   134
#define X509V3_F_V2I_EXTENDED_KEY_USAGE   103
#define X509V3_F_V2I_GENERAL_NAMES   118
#define X509V3_F_V2I_GENERAL_NAME_EX   117
#define X509V3_F_V2I_IPADDRBLOCKS   159
#define X509V3_F_V2I_ISSUER_ALT   153
#define X509V3_F_V2I_NAME_CONSTRAINTS   147
#define X509V3_F_V2I_POLICY_CONSTRAINTS   146
#define X509V3_F_V2I_POLICY_MAPPINGS   145
#define X509V3_F_V2I_SUBJECT_ALT   154
#define X509V3_F_V3_ADDR_VALIDATE_PATH_INTERNAL   160
#define X509V3_F_V3_GENERIC_EXTENSION   116
#define X509V3_F_X509V3_ADD1_I2D   140
#define X509V3_F_X509V3_ADD_VALUE   105
#define X509V3_F_X509V3_EXT_ADD   104
#define X509V3_F_X509V3_EXT_ADD_ALIAS   106
#define X509V3_F_X509V3_EXT_CONF   107
#define X509V3_F_X509V3_EXT_I2D   136
#define X509V3_F_X509V3_EXT_NCONF   152
#define X509V3_F_X509V3_GET_SECTION   142
#define X509V3_F_X509V3_GET_STRING   143
#define X509V3_F_X509V3_GET_VALUE_BOOL   110
#define X509V3_F_X509V3_PARSE_LIST   109
#define X509V3_F_X509_PURPOSE_ADD   137
#define X509V3_F_X509_PURPOSE_SET   141
#define X509V3_R_BAD_IP_ADDRESS   118
#define X509V3_R_BAD_OBJECT   119
#define X509V3_R_BN_DEC2BN_ERROR   100
#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR   101
#define X509V3_R_DIRNAME_ERROR   149
#define X509V3_R_DUPLICATE_ZONE_ID   133
#define X509V3_R_ERROR_CONVERTING_ZONE   131
#define X509V3_R_ERROR_CREATING_EXTENSION   144
#define X509V3_R_ERROR_IN_EXTENSION   128
#define X509V3_R_EXPECTED_A_SECTION_NAME   137
#define X509V3_R_EXTENSION_EXISTS   145
#define X509V3_R_EXTENSION_NAME_ERROR   115
#define X509V3_R_EXTENSION_NOT_FOUND   102
#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED   103
#define X509V3_R_EXTENSION_VALUE_ERROR   116
#define X509V3_R_ILLEGAL_EMPTY_EXTENSION   151
#define X509V3_R_ILLEGAL_HEX_DIGIT   113
#define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG   152
#define X509V3_R_INVALID_ASNUMBER   160
#define X509V3_R_INVALID_ASRANGE   161
#define X509V3_R_INVALID_BOOLEAN_STRING   104
#define X509V3_R_INVALID_EXTENSION_STRING   105
#define X509V3_R_INVALID_INHERITANCE   162
#define X509V3_R_INVALID_IPADDRESS   163
#define X509V3_R_INVALID_NAME   106
#define X509V3_R_INVALID_NULL_ARGUMENT   107
#define X509V3_R_INVALID_NULL_NAME   108
#define X509V3_R_INVALID_NULL_VALUE   109
#define X509V3_R_INVALID_NUMBER   140
#define X509V3_R_INVALID_NUMBERS   141
#define X509V3_R_INVALID_OBJECT_IDENTIFIER   110
#define X509V3_R_INVALID_OPTION   138
#define X509V3_R_INVALID_POLICY_IDENTIFIER   134
#define X509V3_R_INVALID_PROXY_POLICY_SETTING   153
#define X509V3_R_INVALID_PURPOSE   146
#define X509V3_R_INVALID_SAFI   164
#define X509V3_R_INVALID_SECTION   135
#define X509V3_R_INVALID_SYNTAX   143
#define X509V3_R_ISSUER_DECODE_ERROR   126
#define X509V3_R_MISSING_VALUE   124
#define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS   142
#define X509V3_R_NO_CONFIG_DATABASE   136
#define X509V3_R_NO_ISSUER_CERTIFICATE   121
#define X509V3_R_NO_ISSUER_DETAILS   127
#define X509V3_R_NO_POLICY_IDENTIFIER   139
#define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED   154
#define X509V3_R_NO_PUBLIC_KEY   114
#define X509V3_R_NO_SUBJECT_DETAILS   125
#define X509V3_R_ODD_NUMBER_OF_DIGITS   112
#define X509V3_R_OPERATION_NOT_DEFINED   148
#define X509V3_R_OTHERNAME_ERROR   147
#define X509V3_R_POLICY_LANGUAGE_ALREADTY_DEFINED   155
#define X509V3_R_POLICY_PATH_LENGTH   156
#define X509V3_R_POLICY_PATH_LENGTH_ALREADTY_DEFINED   157
#define X509V3_R_POLICY_SYNTAX_NOT_CURRENTLY_SUPPORTED   158
#define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY   159
#define X509V3_R_SECTION_NOT_FOUND   150
#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS   122
#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID   123
#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT   111
#define X509V3_R_UNKNOWN_EXTENSION   129
#define X509V3_R_UNKNOWN_EXTENSION_NAME   130
#define X509V3_R_UNKNOWN_OPTION   120
#define X509V3_R_UNSUPPORTED_OPTION   117
#define X509V3_R_USER_TOO_LONG   132

Typedefs

typedef void *(* X509V3_EXT_NEW )(void)
typedef void(* X509V3_EXT_FREE )(void *)
typedef void *(* X509V3_EXT_D2I )(void *, const unsigned char **, long)
typedef int(* X509V3_EXT_I2D )(void *, unsigned char **)
typedef void * ext
typedef void STACK_OF (CONF_VALUE)*extlist)
typedef void *(* X509V3_EXT_V2I )(struct v3_ext_method *method, struct v3_ext_ctx *ctx, STACK_OF(CONF_VALUE)*values)
typedef char *(* X509V3_EXT_I2S )(struct v3_ext_method *method, void *ext)
typedef void *(* X509V3_EXT_S2I )(struct v3_ext_method *method, struct v3_ext_ctx *ctx, const char *str)
typedef int(* X509V3_EXT_I2R )(struct v3_ext_method *method, void *ext, BIO *out, int indent)
typedef void *(* X509V3_EXT_R2I )(struct v3_ext_method *method, struct v3_ext_ctx *ctx, const char *str)
typedef struct
X509V3_CONF_METHOD_st 
X509V3_CONF_METHOD
typedef struct v3_ext_method X509V3_EXT_METHOD
typedef BIT_STRING_BITNAME ENUMERATED_NAMES
typedef struct BASIC_CONSTRAINTS_st BASIC_CONSTRAINTS
typedef struct PKEY_USAGE_PERIOD_st PKEY_USAGE_PERIOD
typedef struct otherName_st OTHERNAME
typedef struct EDIPartyName_st EDIPARTYNAME
typedef struct GENERAL_NAME_st GENERAL_NAME
typedef struct
ACCESS_DESCRIPTION_st 
ACCESS_DESCRIPTION
typedef struct DIST_POINT_NAME_st DIST_POINT_NAME
typedef struct DIST_POINT_st DIST_POINT
typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID
typedef struct SXNET_ID_st SXNETID
typedef struct SXNET_st SXNET
typedef struct NOTICEREF_st NOTICEREF
typedef struct USERNOTICE_st USERNOTICE
typedef struct POLICYQUALINFO_st POLICYQUALINFO
typedef struct POLICYINFO_st POLICYINFO
typedef struct POLICY_MAPPING_st POLICY_MAPPING
typedef struct GENERAL_SUBTREE_st GENERAL_SUBTREE
typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS
typedef struct
POLICY_CONSTRAINTS_st 
POLICY_CONSTRAINTS
typedef struct PROXY_POLICY_st PROXY_POLICY
typedef struct
PROXY_CERT_INFO_EXTENSION_st 
PROXY_CERT_INFO_EXTENSION
typedef struct x509_purpose_st X509_PURPOSE
typedef struct ASRange_st ASRange
typedef struct ASIdOrRange_st ASIdOrRange
typedef struct
ASIdentifierChoice_st 
ASIdentifierChoice
typedef struct ASIdentifiers_st ASIdentifiers
typedef struct IPAddressRange_st IPAddressRange
typedef struct IPAddressOrRange_st IPAddressOrRange
typedef struct IPAddressChoice_st IPAddressChoice
typedef struct IPAddressFamily_st IPAddressFamily

Functions

typedef STACK_OF (CONF_VALUE)*(*X509V3_EXT_I2V)(struct v3_ext_method *method
typedef STACK_OF (GENERAL_NAME) GENERAL_NAMES
typedef STACK_OF (ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS
typedef STACK_OF (ASN1_OBJECT) EXTENDED_KEY_USAGE
typedef STACK_OF (DIST_POINT) CRL_DIST_POINTS
typedef STACK_OF (POLICYINFO) CERTIFICATEPOLICIES
typedef STACK_OF (POLICY_MAPPING) POLICY_MAPPINGS
int SXNET_add_id_asc (SXNET **psx, char *zone, char *user, int userlen)
int SXNET_add_id_ulong (SXNET **psx, unsigned long lzone, char *user, int userlen)
int SXNET_add_id_INTEGER (SXNET **psx, ASN1_INTEGER *izone, char *user, int userlen)
ASN1_OCTET_STRINGSXNET_get_id_asc (SXNET *sx, char *zone)
ASN1_OCTET_STRINGSXNET_get_id_ulong (SXNET *sx, unsigned long lzone)
ASN1_OCTET_STRINGSXNET_get_id_INTEGER (SXNET *sx, ASN1_INTEGER *zone)
ASN1_BIT_STRINGv2i_ASN1_BIT_STRING (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE)*nval)
int GENERAL_NAME_print (BIO *out, GENERAL_NAME *gen)
GENERAL_NAMES * v2i_GENERAL_NAMES (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE)*nval)
char * i2s_ASN1_OCTET_STRING (X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5)
ASN1_OCTET_STRINGs2i_ASN1_OCTET_STRING (X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str)
int i2a_ACCESS_DESCRIPTION (BIO *bp, ACCESS_DESCRIPTION *a)
char * X509V3_get_string (X509V3_CTX *ctx, char *name, char *section)
void X509V3_string_free (X509V3_CTX *ctx, char *str)
void X509V3_section_free (X509V3_CTX *ctx, STACK_OF(CONF_VALUE)*section)
void X509V3_set_ctx (X509V3_CTX *ctx, X509 *issuer, X509 *subject, X509_REQ *req, X509_CRL *crl, int flags)
int X509V3_add_value (const char *name, const char *value, STACK_OF(CONF_VALUE)**extlist)
int X509V3_add_value_uchar (const char *name, const unsigned char *value, STACK_OF(CONF_VALUE)**extlist)
int X509V3_add_value_bool (const char *name, int asn1_bool, STACK_OF(CONF_VALUE)**extlist)
int X509V3_add_value_int (const char *name, ASN1_INTEGER *aint, STACK_OF(CONF_VALUE)**extlist)
char * i2s_ASN1_INTEGER (X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint)
ASN1_INTEGERs2i_ASN1_INTEGER (X509V3_EXT_METHOD *meth, char *value)
char * i2s_ASN1_ENUMERATED (X509V3_EXT_METHOD *meth, ASN1_ENUMERATED *aint)
char * i2s_ASN1_ENUMERATED_TABLE (X509V3_EXT_METHOD *meth, ASN1_ENUMERATED *aint)
int X509V3_EXT_add (X509V3_EXT_METHOD *ext)
int X509V3_EXT_add_list (X509V3_EXT_METHOD *extlist)
int X509V3_EXT_add_alias (int nid_to, int nid_from)
void X509V3_EXT_cleanup (void)
X509V3_EXT_METHODX509V3_EXT_get (X509_EXTENSION *ext)
X509V3_EXT_METHODX509V3_EXT_get_nid (int nid)
int X509V3_add_standard_extensions (void)
void * X509V3_EXT_d2i (X509_EXTENSION *ext)
void * X509V3_get_d2i (STACK_OF(X509_EXTENSION)*x, int nid, int *crit, int *idx)
X509_EXTENSIONX509V3_EXT_i2d (int ext_nid, int crit, void *ext_struc)
int X509V3_add1_i2d (STACK_OF(X509_EXTENSION)**x, int nid, void *value, int crit, unsigned long flags)
char * hex_to_string (unsigned char *buffer, long len)
unsigned char * string_to_hex (char *str, long *len)
int name_cmp (const char *name, const char *cmp)
void X509V3_EXT_val_prn (BIO *out, STACK_OF(CONF_VALUE)*val, int indent, int ml)
int X509V3_EXT_print (BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
int X509V3_EXT_print_fp (FILE *out, X509_EXTENSION *ext, int flag, int indent)
int X509V3_extensions_print (BIO *out, char *title, STACK_OF(X509_EXTENSION)*exts, unsigned long flag, int indent)
int X509_check_ca (X509 *x)
int X509_check_purpose (X509 *x, int id, int ca)
int X509_supported_extension (X509_EXTENSION *ex)
int X509_PURPOSE_set (int *p, int purpose)
int X509_check_issued (X509 *issuer, X509 *subject)
int X509_PURPOSE_get_count (void)
X509_PURPOSEX509_PURPOSE_get0 (int idx)
int X509_PURPOSE_get_by_sname (char *sname)
int X509_PURPOSE_get_by_id (int id)
int X509_PURPOSE_add (int id, int trust, int flags, int(*ck)(const X509_PURPOSE *, const X509 *, int), char *name, char *sname, void *arg)
char * X509_PURPOSE_get0_name (X509_PURPOSE *xp)
char * X509_PURPOSE_get0_sname (X509_PURPOSE *xp)
int X509_PURPOSE_get_trust (X509_PURPOSE *xp)
void X509_PURPOSE_cleanup (void)
int X509_PURPOSE_get_id (X509_PURPOSE *)
STACKX509_get1_email (X509 *x)
STACKX509_REQ_get1_email (X509_REQ *x)
void X509_email_free (STACK *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)
void X509_POLICY_NODE_print (BIO *out, X509_POLICY_NODE *node, int indent)
typedef STACK_OF (ASIdOrRange) ASIdOrRanges
typedef STACK_OF (IPAddressOrRange) IPAddressOrRanges
typedef STACK_OF (IPAddressFamily) IPAddrBlocks
int v3_asid_add_inherit (ASIdentifiers *asid, int which)
int v3_asid_add_id_or_range (ASIdentifiers *asid, int which, ASN1_INTEGER *min, ASN1_INTEGER *max)
int v3_addr_add_inherit (IPAddrBlocks *addr, const unsigned afi, const unsigned *safi)
int v3_addr_add_prefix (IPAddrBlocks *addr, const unsigned afi, const unsigned *safi, unsigned char *a, const int prefixlen)
int v3_addr_add_range (IPAddrBlocks *addr, const unsigned afi, const unsigned *safi, unsigned char *min, unsigned char *max)
unsigned v3_addr_get_afi (const IPAddressFamily *f)
int v3_addr_get_range (IPAddressOrRange *aor, const unsigned afi, unsigned char *min, unsigned char *max, const int length)
int v3_asid_is_canonical (ASIdentifiers *asid)
int v3_addr_is_canonical (IPAddrBlocks *addr)
int v3_asid_canonize (ASIdentifiers *asid)
int v3_addr_canonize (IPAddrBlocks *addr)
int v3_asid_inherits (ASIdentifiers *asid)
int v3_addr_inherits (IPAddrBlocks *addr)
int v3_asid_subset (ASIdentifiers *a, ASIdentifiers *b)
int v3_addr_subset (IPAddrBlocks *a, IPAddrBlocks *b)
int v3_asid_validate_path (X509_STORE_CTX *)
int v3_addr_validate_path (X509_STORE_CTX *)
int v3_asid_validate_resource_set (STACK_OF(X509)*chain, ASIdentifiers *ext, int allow_inheritance)
int v3_addr_validate_resource_set (STACK_OF(X509)*chain, IPAddrBlocks *ext, int allow_inheritance)
void ERR_load_X509V3_strings (void)

Variables

ASN1_BIT_STRINGbits
GENERAL_NAMEgen
char * section


Define Documentation

#define ASIdentifierChoice_asIdsOrRanges   1

Definition at line 650 of file x509v3.h.

#define ASIdentifierChoice_inherit   0

Definition at line 649 of file x509v3.h.

#define ASIdOrRange_id   0

Definition at line 635 of file x509v3.h.

#define ASIdOrRange_range   1

Definition at line 636 of file x509v3.h.

#define CTX_TEST   0x1

Definition at line 123 of file x509v3.h.

#define EXFLAG_BCONS   0x1

Definition at line 360 of file x509v3.h.

#define EXFLAG_CA   0x10

Definition at line 365 of file x509v3.h.

#define EXFLAG_CRITICAL   0x200

Definition at line 370 of file x509v3.h.

#define EXFLAG_INVALID   0x80

Definition at line 368 of file x509v3.h.

#define EXFLAG_INVALID_POLICY   0x400

Definition at line 373 of file x509v3.h.

#define EXFLAG_KUSAGE   0x2

Definition at line 361 of file x509v3.h.

#define EXFLAG_NSCERT   0x8

Definition at line 363 of file x509v3.h.

#define EXFLAG_PROXY   0x400

Definition at line 371 of file x509v3.h.

#define EXFLAG_SET   0x100

Definition at line 369 of file x509v3.h.

#define EXFLAG_SS   0x20

Definition at line 366 of file x509v3.h.

#define EXFLAG_V1   0x40

Definition at line 367 of file x509v3.h.

#define EXFLAG_XKUSAGE   0x4

Definition at line 362 of file x509v3.h.

#define EXT_BITSTRING ( nid,
table   ) 

Value:

{ nid, 0, ASN1_ITEM_ref(ASN1_BIT_STRING), \
         0,0,0,0, \
         0,0, \
         (X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \
         (X509V3_EXT_V2I)v2i_ASN1_BIT_STRING, \
         NULL, NULL, \
         table}

Definition at line 340 of file x509v3.h.

#define EXT_END   { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

Definition at line 355 of file x509v3.h.

#define EXT_IA5STRING ( nid   ) 

Value:

{ nid, 0, ASN1_ITEM_ref(ASN1_IA5STRING), \
         0,0,0,0, \
         (X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \
         (X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \
         0,0,0,0, \
         NULL}

Definition at line 348 of file x509v3.h.

#define GEN_DIRNAME   4

Definition at line 172 of file x509v3.h.

#define GEN_DNS   2

Definition at line 170 of file x509v3.h.

#define GEN_EDIPARTY   5

Definition at line 173 of file x509v3.h.

#define GEN_EMAIL   1

Definition at line 169 of file x509v3.h.

#define GEN_IPADD   7

Definition at line 175 of file x509v3.h.

#define GEN_OTHERNAME   0

Definition at line 168 of file x509v3.h.

#define GEN_RID   8

Definition at line 176 of file x509v3.h.

#define GEN_URI   6

Definition at line 174 of file x509v3.h.

#define GEN_X400   3

Definition at line 171 of file x509v3.h.

#define IANA_AFI_IPV4   1

Definition at line 724 of file x509v3.h.

#define IANA_AFI_IPV6   2

Definition at line 725 of file x509v3.h.

#define IPAddressChoice_addressesOrRanges   1

Definition at line 689 of file x509v3.h.

#define IPAddressChoice_inherit   0

Definition at line 688 of file x509v3.h.

#define IPAddressOrRange_addressPrefix   0

Definition at line 674 of file x509v3.h.

#define IPAddressOrRange_addressRange   1

Definition at line 675 of file x509v3.h.

#define KU_CRL_SIGN   0x0002

Definition at line 381 of file x509v3.h.

#define KU_DATA_ENCIPHERMENT   0x0010

Definition at line 378 of file x509v3.h.

#define KU_DECIPHER_ONLY   0x8000

Definition at line 383 of file x509v3.h.

#define KU_DIGITAL_SIGNATURE   0x0080

Definition at line 375 of file x509v3.h.

#define KU_ENCIPHER_ONLY   0x0001

Definition at line 382 of file x509v3.h.

#define KU_KEY_AGREEMENT   0x0008

Definition at line 379 of file x509v3.h.

#define KU_KEY_CERT_SIGN   0x0004

Definition at line 380 of file x509v3.h.

#define KU_KEY_ENCIPHERMENT   0x0020

Definition at line 377 of file x509v3.h.

#define KU_NON_REPUDIATION   0x0040

Definition at line 376 of file x509v3.h.

#define NS_ANY_CA   (NS_SSL_CA|NS_SMIME_CA|NS_OBJSIGN_CA)

Definition at line 392 of file x509v3.h.

#define NS_OBJSIGN   0x10

Definition at line 388 of file x509v3.h.

#define NS_OBJSIGN_CA   0x01

Definition at line 391 of file x509v3.h.

#define NS_SMIME   0x20

Definition at line 387 of file x509v3.h.

#define NS_SMIME_CA   0x02

Definition at line 390 of file x509v3.h.

#define NS_SSL_CA   0x04

Definition at line 389 of file x509v3.h.

#define NS_SSL_CLIENT   0x80

Definition at line 385 of file x509v3.h.

#define NS_SSL_SERVER   0x40

Definition at line 386 of file x509v3.h.

#define V3_ASID_ASNUM   0

Definition at line 715 of file x509v3.h.

#define V3_ASID_RDI   1

Definition at line 716 of file x509v3.h.

#define X509_PURPOSE_ANY   7

Definition at line 423 of file x509v3.h.

#define X509_PURPOSE_CRL_SIGN   6

Definition at line 422 of file x509v3.h.

#define X509_PURPOSE_DYNAMIC   0x1

Definition at line 403 of file x509v3.h.

#define X509_PURPOSE_DYNAMIC_NAME   0x2

Definition at line 404 of file x509v3.h.

#define X509_PURPOSE_MAX   8

Definition at line 427 of file x509v3.h.

#define X509_PURPOSE_MIN   1

Definition at line 426 of file x509v3.h.

#define X509_PURPOSE_NS_SSL_SERVER   3

Definition at line 419 of file x509v3.h.

#define X509_PURPOSE_OCSP_HELPER   8

Definition at line 424 of file x509v3.h.

#define X509_PURPOSE_SMIME_ENCRYPT   5

Definition at line 421 of file x509v3.h.

#define X509_PURPOSE_SMIME_SIGN   4

Definition at line 420 of file x509v3.h.

#define X509_PURPOSE_SSL_CLIENT   1

Definition at line 417 of file x509v3.h.

#define X509_PURPOSE_SSL_SERVER   2

Definition at line 418 of file x509v3.h.

#define X509V3_ADD_APPEND   1L

Definition at line 445 of file x509v3.h.

#define X509V3_ADD_DEFAULT   0L

Definition at line 444 of file x509v3.h.

#define X509V3_ADD_DELETE   5L

Definition at line 449 of file x509v3.h.

#define X509V3_ADD_KEEP_EXISTING   4L

Definition at line 448 of file x509v3.h.

#define X509V3_ADD_OP_MASK   0xfL

Definition at line 443 of file x509v3.h.

#define X509V3_ADD_REPLACE   2L

Definition at line 446 of file x509v3.h.

#define X509V3_ADD_REPLACE_EXISTING   3L

Definition at line 447 of file x509v3.h.

#define X509V3_ADD_SILENT   0x10

Definition at line 450 of file x509v3.h.

#define X509V3_conf_err ( val   ) 

Value:

ERR_add_error_data(6, "section:", val->section, \
",name:", val->name, ",value:", val->value);

Definition at line 333 of file x509v3.h.

#define X509V3_EXT_CTX_DEP   0x2

Definition at line 140 of file x509v3.h.

#define X509V3_EXT_DEFAULT   0

Definition at line 433 of file x509v3.h.

#define X509V3_EXT_DUMP_UNKNOWN   (3L << 16)

Definition at line 439 of file x509v3.h.

#define X509V3_EXT_DYNAMIC   0x1

Definition at line 139 of file x509v3.h.

#define X509V3_EXT_ERROR_UNKNOWN   (1L << 16)

Definition at line 435 of file x509v3.h.

#define X509V3_EXT_MULTILINE   0x4

Definition at line 141 of file x509v3.h.

#define X509V3_EXT_PARSE_UNKNOWN   (2L << 16)

Definition at line 437 of file x509v3.h.

#define X509V3_EXT_UNKNOWN_MASK   (0xfL << 16)

Definition at line 431 of file x509v3.h.

#define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE   156

Definition at line 787 of file x509v3.h.

#define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL   157

Definition at line 788 of file x509v3.h.

#define X509V3_F_COPY_EMAIL   122

Definition at line 789 of file x509v3.h.

#define X509V3_F_COPY_ISSUER   123

Definition at line 790 of file x509v3.h.

#define X509V3_F_DO_DIRNAME   144

Definition at line 791 of file x509v3.h.

#define X509V3_F_DO_EXT_CONF   124

Definition at line 792 of file x509v3.h.

#define X509V3_F_DO_EXT_I2D   135

Definition at line 793 of file x509v3.h.

#define X509V3_F_DO_EXT_NCONF   151

Definition at line 794 of file x509v3.h.

#define X509V3_F_DO_I2V_NAME_CONSTRAINTS   148

Definition at line 795 of file x509v3.h.

#define X509V3_F_HEX_TO_STRING   111

Definition at line 796 of file x509v3.h.

#define X509V3_F_I2S_ASN1_ENUMERATED   121

Definition at line 797 of file x509v3.h.

#define X509V3_F_I2S_ASN1_IA5STRING   149

Definition at line 798 of file x509v3.h.

#define X509V3_F_I2S_ASN1_INTEGER   120

Definition at line 799 of file x509v3.h.

#define X509V3_F_I2V_AUTHORITY_INFO_ACCESS   138

Definition at line 800 of file x509v3.h.

#define X509V3_F_NOTICE_SECTION   132

Definition at line 801 of file x509v3.h.

#define X509V3_F_NREF_NOS   133

Definition at line 802 of file x509v3.h.

#define X509V3_F_POLICY_SECTION   131

Definition at line 803 of file x509v3.h.

#define X509V3_F_PROCESS_PCI_VALUE   150

Definition at line 804 of file x509v3.h.

#define X509V3_F_R2I_CERTPOL   130

Definition at line 805 of file x509v3.h.

#define X509V3_F_R2I_PCI   155

Definition at line 806 of file x509v3.h.

#define X509V3_F_S2I_ASN1_IA5STRING   100

Definition at line 807 of file x509v3.h.

#define X509V3_F_S2I_ASN1_INTEGER   108

Definition at line 808 of file x509v3.h.

#define X509V3_F_S2I_ASN1_OCTET_STRING   112

Definition at line 809 of file x509v3.h.

#define X509V3_F_S2I_ASN1_SKEY_ID   114

Definition at line 810 of file x509v3.h.

#define X509V3_F_S2I_SKEY_ID   115

Definition at line 811 of file x509v3.h.

#define X509V3_F_STRING_TO_HEX   113

Definition at line 812 of file x509v3.h.

#define X509V3_F_SXNET_ADD_ID_ASC   125

Definition at line 813 of file x509v3.h.

#define X509V3_F_SXNET_ADD_ID_INTEGER   126

Definition at line 814 of file x509v3.h.

#define X509V3_F_SXNET_ADD_ID_ULONG   127

Definition at line 815 of file x509v3.h.

#define X509V3_F_SXNET_GET_ID_ASC   128

Definition at line 816 of file x509v3.h.

#define X509V3_F_SXNET_GET_ID_ULONG   129

Definition at line 817 of file x509v3.h.

#define X509V3_F_V2I_ASIDENTIFIERS   158

Definition at line 818 of file x509v3.h.

#define X509V3_F_V2I_ASN1_BIT_STRING   101

Definition at line 819 of file x509v3.h.

#define X509V3_F_V2I_AUTHORITY_INFO_ACCESS   139

Definition at line 820 of file x509v3.h.

#define X509V3_F_V2I_AUTHORITY_KEYID   119

Definition at line 821 of file x509v3.h.

#define X509V3_F_V2I_BASIC_CONSTRAINTS   102

Definition at line 822 of file x509v3.h.

#define X509V3_F_V2I_CRLD   134

Definition at line 823 of file x509v3.h.

#define X509V3_F_V2I_EXTENDED_KEY_USAGE   103

Definition at line 824 of file x509v3.h.

#define X509V3_F_V2I_GENERAL_NAME_EX   117

Definition at line 826 of file x509v3.h.

#define X509V3_F_V2I_GENERAL_NAMES   118

Definition at line 825 of file x509v3.h.

#define X509V3_F_V2I_IPADDRBLOCKS   159

Definition at line 827 of file x509v3.h.

#define X509V3_F_V2I_ISSUER_ALT   153

Definition at line 828 of file x509v3.h.

#define X509V3_F_V2I_NAME_CONSTRAINTS   147

Definition at line 829 of file x509v3.h.

#define X509V3_F_V2I_POLICY_CONSTRAINTS   146

Definition at line 830 of file x509v3.h.

#define X509V3_F_V2I_POLICY_MAPPINGS   145

Definition at line 831 of file x509v3.h.

#define X509V3_F_V2I_SUBJECT_ALT   154

Definition at line 832 of file x509v3.h.

#define X509V3_F_V3_ADDR_VALIDATE_PATH_INTERNAL   160

Definition at line 833 of file x509v3.h.

#define X509V3_F_V3_GENERIC_EXTENSION   116

Definition at line 834 of file x509v3.h.

#define X509V3_F_X509_PURPOSE_ADD   137

Definition at line 846 of file x509v3.h.

#define X509V3_F_X509_PURPOSE_SET   141

Definition at line 847 of file x509v3.h.

#define X509V3_F_X509V3_ADD1_I2D   140

Definition at line 835 of file x509v3.h.

#define X509V3_F_X509V3_ADD_VALUE   105

Definition at line 836 of file x509v3.h.

#define X509V3_F_X509V3_EXT_ADD   104

Definition at line 837 of file x509v3.h.

#define X509V3_F_X509V3_EXT_ADD_ALIAS   106

Definition at line 838 of file x509v3.h.

#define X509V3_F_X509V3_EXT_CONF   107

Definition at line 839 of file x509v3.h.

#define X509V3_F_X509V3_EXT_I2D   136

Definition at line 840 of file x509v3.h.

#define X509V3_F_X509V3_EXT_NCONF   152

Definition at line 841 of file x509v3.h.

#define X509V3_F_X509V3_GET_SECTION   142

Definition at line 842 of file x509v3.h.

#define X509V3_F_X509V3_GET_STRING   143

Definition at line 843 of file x509v3.h.

#define X509V3_F_X509V3_GET_VALUE_BOOL   110

Definition at line 844 of file x509v3.h.

#define X509V3_F_X509V3_PARSE_LIST   109

Definition at line 845 of file x509v3.h.

#define X509V3_R_BAD_IP_ADDRESS   118

Definition at line 850 of file x509v3.h.

#define X509V3_R_BAD_OBJECT   119

Definition at line 851 of file x509v3.h.

#define X509V3_R_BN_DEC2BN_ERROR   100

Definition at line 852 of file x509v3.h.

#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR   101

Definition at line 853 of file x509v3.h.

#define X509V3_R_DIRNAME_ERROR   149

Definition at line 854 of file x509v3.h.

#define X509V3_R_DUPLICATE_ZONE_ID   133

Definition at line 855 of file x509v3.h.

#define X509V3_R_ERROR_CONVERTING_ZONE   131

Definition at line 856 of file x509v3.h.

#define X509V3_R_ERROR_CREATING_EXTENSION   144

Definition at line 857 of file x509v3.h.

#define X509V3_R_ERROR_IN_EXTENSION   128

Definition at line 858 of file x509v3.h.

#define X509V3_R_EXPECTED_A_SECTION_NAME   137

Definition at line 859 of file x509v3.h.

#define X509V3_R_EXTENSION_EXISTS   145

Definition at line 860 of file x509v3.h.

#define X509V3_R_EXTENSION_NAME_ERROR   115

Definition at line 861 of file x509v3.h.

#define X509V3_R_EXTENSION_NOT_FOUND   102

Definition at line 862 of file x509v3.h.

#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED   103

Definition at line 863 of file x509v3.h.

#define X509V3_R_EXTENSION_VALUE_ERROR   116

Definition at line 864 of file x509v3.h.

#define X509V3_R_ILLEGAL_EMPTY_EXTENSION   151

Definition at line 865 of file x509v3.h.

#define X509V3_R_ILLEGAL_HEX_DIGIT   113

Definition at line 866 of file x509v3.h.

#define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG   152

Definition at line 867 of file x509v3.h.

#define X509V3_R_INVALID_ASNUMBER   160

Definition at line 868 of file x509v3.h.

#define X509V3_R_INVALID_ASRANGE   161

Definition at line 869 of file x509v3.h.

#define X509V3_R_INVALID_BOOLEAN_STRING   104

Definition at line 870 of file x509v3.h.

#define X509V3_R_INVALID_EXTENSION_STRING   105

Definition at line 871 of file x509v3.h.

#define X509V3_R_INVALID_INHERITANCE   162

Definition at line 872 of file x509v3.h.

#define X509V3_R_INVALID_IPADDRESS   163

Definition at line 873 of file x509v3.h.

#define X509V3_R_INVALID_NAME   106

Definition at line 874 of file x509v3.h.

#define X509V3_R_INVALID_NULL_ARGUMENT   107

Definition at line 875 of file x509v3.h.

#define X509V3_R_INVALID_NULL_NAME   108

Definition at line 876 of file x509v3.h.

#define X509V3_R_INVALID_NULL_VALUE   109

Definition at line 877 of file x509v3.h.

#define X509V3_R_INVALID_NUMBER   140

Definition at line 878 of file x509v3.h.

#define X509V3_R_INVALID_NUMBERS   141

Definition at line 879 of file x509v3.h.

#define X509V3_R_INVALID_OBJECT_IDENTIFIER   110

Definition at line 880 of file x509v3.h.

#define X509V3_R_INVALID_OPTION   138

Definition at line 881 of file x509v3.h.

#define X509V3_R_INVALID_POLICY_IDENTIFIER   134

Definition at line 882 of file x509v3.h.

#define X509V3_R_INVALID_PROXY_POLICY_SETTING   153

Definition at line 883 of file x509v3.h.

#define X509V3_R_INVALID_PURPOSE   146

Definition at line 884 of file x509v3.h.

#define X509V3_R_INVALID_SAFI   164

Definition at line 885 of file x509v3.h.

#define X509V3_R_INVALID_SECTION   135

Definition at line 886 of file x509v3.h.

#define X509V3_R_INVALID_SYNTAX   143

Definition at line 887 of file x509v3.h.

#define X509V3_R_ISSUER_DECODE_ERROR   126

Definition at line 888 of file x509v3.h.

#define X509V3_R_MISSING_VALUE   124

Definition at line 889 of file x509v3.h.

#define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS   142

Definition at line 890 of file x509v3.h.

#define X509V3_R_NO_CONFIG_DATABASE   136

Definition at line 891 of file x509v3.h.

#define X509V3_R_NO_ISSUER_CERTIFICATE   121

Definition at line 892 of file x509v3.h.

#define X509V3_R_NO_ISSUER_DETAILS   127

Definition at line 893 of file x509v3.h.

#define X509V3_R_NO_POLICY_IDENTIFIER   139

Definition at line 894 of file x509v3.h.

#define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED   154

Definition at line 895 of file x509v3.h.

#define X509V3_R_NO_PUBLIC_KEY   114

Definition at line 896 of file x509v3.h.

#define X509V3_R_NO_SUBJECT_DETAILS   125

Definition at line 897 of file x509v3.h.

#define X509V3_R_ODD_NUMBER_OF_DIGITS   112

Definition at line 898 of file x509v3.h.

#define X509V3_R_OPERATION_NOT_DEFINED   148

Definition at line 899 of file x509v3.h.

#define X509V3_R_OTHERNAME_ERROR   147

Definition at line 900 of file x509v3.h.

#define X509V3_R_POLICY_LANGUAGE_ALREADTY_DEFINED   155

Definition at line 901 of file x509v3.h.

#define X509V3_R_POLICY_PATH_LENGTH   156

Definition at line 902 of file x509v3.h.

#define X509V3_R_POLICY_PATH_LENGTH_ALREADTY_DEFINED   157

Definition at line 903 of file x509v3.h.

#define X509V3_R_POLICY_SYNTAX_NOT_CURRENTLY_SUPPORTED   158

Definition at line 904 of file x509v3.h.

#define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY   159

Definition at line 905 of file x509v3.h.

#define X509V3_R_SECTION_NOT_FOUND   150

Definition at line 906 of file x509v3.h.

#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS   122

Definition at line 907 of file x509v3.h.

#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID   123

Definition at line 908 of file x509v3.h.

#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT   111

Definition at line 909 of file x509v3.h.

#define X509V3_R_UNKNOWN_EXTENSION   129

Definition at line 910 of file x509v3.h.

#define X509V3_R_UNKNOWN_EXTENSION_NAME   130

Definition at line 911 of file x509v3.h.

#define X509V3_R_UNKNOWN_OPTION   120

Definition at line 912 of file x509v3.h.

#define X509V3_R_UNSUPPORTED_OPTION   117

Definition at line 913 of file x509v3.h.

#define X509V3_R_USER_TOO_LONG   132

Definition at line 914 of file x509v3.h.

#define X509V3_set_ctx_nodb ( ctx   )     (ctx)->db = NULL;

Definition at line 338 of file x509v3.h.

#define X509V3_set_ctx_test ( ctx   )     X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)

Definition at line 336 of file x509v3.h.

#define XKU_CODE_SIGN   0x8

Definition at line 397 of file x509v3.h.

#define XKU_DVCS   0x80

Definition at line 401 of file x509v3.h.

#define XKU_OCSP_SIGN   0x20

Definition at line 399 of file x509v3.h.

#define XKU_SGC   0x10

Definition at line 398 of file x509v3.h.

#define XKU_SMIME   0x4

Definition at line 396 of file x509v3.h.

#define XKU_SSL_CLIENT   0x2

Definition at line 395 of file x509v3.h.

#define XKU_SSL_SERVER   0x1

Definition at line 394 of file x509v3.h.

#define XKU_TIMESTAMP   0x40

Definition at line 400 of file x509v3.h.


Typedef Documentation

typedef struct ASIdOrRange_st ASIdOrRange

typedef struct ASRange_st ASRange

typedef struct DIST_POINT_st DIST_POINT

typedef struct EDIPartyName_st EDIPARTYNAME

Definition at line 143 of file x509v3.h.

typedef void* ext

Definition at line 79 of file x509v3.h.

typedef struct GENERAL_NAME_st GENERAL_NAME

typedef struct NOTICEREF_st NOTICEREF

typedef struct otherName_st OTHERNAME

typedef struct POLICYINFO_st POLICYINFO

typedef struct PROXY_POLICY_st PROXY_POLICY

STACK_OF ( CONF_VALUE   ) 

Definition at line 79 of file x509v3.h.

typedef struct SXNET_st SXNET

typedef struct SXNET_ID_st SXNETID

typedef struct USERNOTICE_st USERNOTICE

typedef struct x509_purpose_st X509_PURPOSE

typedef void*(* X509V3_EXT_D2I)(void *, const unsigned char **, long)

Definition at line 77 of file x509v3.h.

typedef void(* X509V3_EXT_FREE)(void *)

Definition at line 76 of file x509v3.h.

typedef int(* X509V3_EXT_I2D)(void *, unsigned char **)

Definition at line 78 of file x509v3.h.

typedef int(* X509V3_EXT_I2R)(struct v3_ext_method *method, void *ext, BIO *out, int indent)

Definition at line 83 of file x509v3.h.

typedef char*(* X509V3_EXT_I2S)(struct v3_ext_method *method, void *ext)

Definition at line 81 of file x509v3.h.

Definition at line 134 of file x509v3.h.

typedef void*(* X509V3_EXT_NEW)(void)

Definition at line 75 of file x509v3.h.

typedef void*(* X509V3_EXT_R2I)(struct v3_ext_method *method, struct v3_ext_ctx *ctx, const char *str)

Definition at line 84 of file x509v3.h.

typedef void*(* X509V3_EXT_S2I)(struct v3_ext_method *method, struct v3_ext_ctx *ctx, const char *str)

Definition at line 82 of file x509v3.h.

typedef void*(* X509V3_EXT_V2I)(struct v3_ext_method *method, struct v3_ext_ctx *ctx, STACK_OF(CONF_VALUE)*values)

Definition at line 80 of file x509v3.h.


Function Documentation

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

ASN1_OCTET_STRING* a2i_IPADDRESS ( const char *  ipasc  ) 

ASN1_OCTET_STRING* a2i_IPADDRESS_NC ( const char *  ipasc  ) 

void ERR_load_X509V3_strings ( void   ) 

int GENERAL_NAME_print ( BIO out,
GENERAL_NAME gen 
)

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

int i2a_ACCESS_DESCRIPTION ( BIO bp,
ACCESS_DESCRIPTION a 
)

char* i2s_ASN1_ENUMERATED ( X509V3_EXT_METHOD meth,
ASN1_ENUMERATED aint 
)

char* i2s_ASN1_ENUMERATED_TABLE ( X509V3_EXT_METHOD meth,
ASN1_ENUMERATED aint 
)

char* i2s_ASN1_INTEGER ( X509V3_EXT_METHOD meth,
ASN1_INTEGER aint 
)

char* i2s_ASN1_OCTET_STRING ( X509V3_EXT_METHOD method,
ASN1_OCTET_STRING ia5 
)

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

ASN1_INTEGER* s2i_ASN1_INTEGER ( X509V3_EXT_METHOD meth,
char *  value 
)

ASN1_OCTET_STRING* s2i_ASN1_OCTET_STRING ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
char *  str 
)

typedef STACK_OF ( IPAddressFamily   ) 

typedef STACK_OF ( IPAddressOrRange   ) 

typedef STACK_OF ( ASIdOrRange   ) 

typedef STACK_OF ( POLICY_MAPPING   ) 

typedef STACK_OF ( POLICYINFO   ) 

typedef STACK_OF ( DIST_POINT   ) 

typedef STACK_OF ( ASN1_OBJECT   ) 

typedef STACK_OF ( ACCESS_DESCRIPTION   ) 

typedef STACK_OF ( GENERAL_NAME   ) 

typedef STACK_OF ( CONF_VALUE   ) 

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

int SXNET_add_id_asc ( SXNET **  psx,
char *  zone,
char *  user,
int  userlen 
)

int SXNET_add_id_INTEGER ( SXNET **  psx,
ASN1_INTEGER izone,
char *  user,
int  userlen 
)

int SXNET_add_id_ulong ( SXNET **  psx,
unsigned long  lzone,
char *  user,
int  userlen 
)

ASN1_OCTET_STRING* SXNET_get_id_asc ( SXNET sx,
char *  zone 
)

ASN1_OCTET_STRING* SXNET_get_id_INTEGER ( SXNET sx,
ASN1_INTEGER zone 
)

ASN1_OCTET_STRING* SXNET_get_id_ulong ( SXNET sx,
unsigned long  lzone 
)

ASN1_BIT_STRING* v2i_ASN1_BIT_STRING ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE)*  nval 
)

GENERAL_NAMES* v2i_GENERAL_NAMES ( X509V3_EXT_METHOD method,
X509V3_CTX ctx,
STACK_OF(CONF_VALUE)*  nval 
)

int v3_addr_add_inherit ( IPAddrBlocks *  addr,
const unsigned  afi,
const unsigned *  safi 
)

int v3_addr_add_prefix ( IPAddrBlocks *  addr,
const unsigned  afi,
const unsigned *  safi,
unsigned char *  a,
const int  prefixlen 
)

int v3_addr_add_range ( IPAddrBlocks *  addr,
const unsigned  afi,
const unsigned *  safi,
unsigned char *  min,
unsigned char *  max 
)

int v3_addr_canonize ( IPAddrBlocks *  addr  ) 

unsigned v3_addr_get_afi ( const IPAddressFamily f  ) 

int v3_addr_get_range ( IPAddressOrRange aor,
const unsigned  afi,
unsigned char *  min,
unsigned char *  max,
const int  length 
)

int v3_addr_inherits ( IPAddrBlocks *  addr  ) 

int v3_addr_is_canonical ( IPAddrBlocks *  addr  ) 

int v3_addr_subset ( IPAddrBlocks *  a,
IPAddrBlocks *  b 
)

int v3_addr_validate_path ( X509_STORE_CTX  ) 

int v3_addr_validate_resource_set ( STACK_OF(X509)*  chain,
IPAddrBlocks *  ext,
int  allow_inheritance 
)

int v3_asid_add_id_or_range ( ASIdentifiers asid,
int  which,
ASN1_INTEGER min,
ASN1_INTEGER max 
)

int v3_asid_add_inherit ( ASIdentifiers asid,
int  which 
)

int v3_asid_canonize ( ASIdentifiers asid  ) 

int v3_asid_inherits ( ASIdentifiers asid  ) 

int v3_asid_is_canonical ( ASIdentifiers asid  ) 

int v3_asid_subset ( ASIdentifiers a,
ASIdentifiers b 
)

int v3_asid_validate_path ( X509_STORE_CTX  ) 

int v3_asid_validate_resource_set ( STACK_OF(X509)*  chain,
ASIdentifiers ext,
int  allow_inheritance 
)

int X509_check_ca ( X509 x  ) 

int X509_check_issued ( X509 issuer,
X509 subject 
)

int X509_check_purpose ( X509 x,
int  id,
int  ca 
)

void X509_email_free ( STACK sk  ) 

STACK* X509_get1_email ( X509 x  ) 

void X509_POLICY_NODE_print ( BIO out,
X509_POLICY_NODE node,
int  indent 
)

int X509_PURPOSE_add ( int  id,
int  trust,
int  flags,
int(*)(const X509_PURPOSE *, const X509 *, int)  ck,
char *  name,
char *  sname,
void *  arg 
)

void X509_PURPOSE_cleanup ( void   ) 

X509_PURPOSE* X509_PURPOSE_get0 ( int  idx  ) 

char* X509_PURPOSE_get0_name ( X509_PURPOSE xp  ) 

char* X509_PURPOSE_get0_sname ( X509_PURPOSE xp  ) 

int X509_PURPOSE_get_by_id ( int  id  ) 

int X509_PURPOSE_get_by_sname ( char *  sname  ) 

int X509_PURPOSE_get_count ( void   ) 

int X509_PURPOSE_get_id ( X509_PURPOSE  ) 

int X509_PURPOSE_get_trust ( X509_PURPOSE xp  ) 

int X509_PURPOSE_set ( int *  p,
int  purpose 
)

STACK* X509_REQ_get1_email ( X509_REQ x  ) 

int X509_supported_extension ( X509_EXTENSION ex  ) 

int X509V3_add1_i2d ( STACK_OF(X509_EXTENSION)**  x,
int  nid,
void *  value,
int  crit,
unsigned long  flags 
)

int X509V3_add_standard_extensions ( void   ) 

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

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

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

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

int X509V3_EXT_add ( X509V3_EXT_METHOD ext  ) 

int X509V3_EXT_add_alias ( int  nid_to,
int  nid_from 
)

int X509V3_EXT_add_list ( X509V3_EXT_METHOD extlist  ) 

void X509V3_EXT_cleanup ( void   ) 

void* X509V3_EXT_d2i ( X509_EXTENSION ext  ) 

X509V3_EXT_METHOD* X509V3_EXT_get ( X509_EXTENSION ext  ) 

X509V3_EXT_METHOD* X509V3_EXT_get_nid ( int  nid  ) 

X509_EXTENSION* X509V3_EXT_i2d ( int  ext_nid,
int  crit,
void *  ext_struc 
)

int X509V3_EXT_print ( BIO out,
X509_EXTENSION ext,
unsigned long  flag,
int  indent 
)

int X509V3_EXT_print_fp ( FILE *  out,
X509_EXTENSION ext,
int  flag,
int  indent 
)

void X509V3_EXT_val_prn ( BIO out,
STACK_OF(CONF_VALUE)*  val,
int  indent,
int  ml 
)

int X509V3_extensions_print ( BIO out,
char *  title,
STACK_OF(X509_EXTENSION)*  exts,
unsigned long  flag,
int  indent 
)

void* X509V3_get_d2i ( STACK_OF(X509_EXTENSION)*  x,
int  nid,
int *  crit,
int *  idx 
)

char* X509V3_get_string ( X509V3_CTX ctx,
char *  name,
char *  section 
)

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

void X509V3_section_free ( X509V3_CTX ctx,
STACK_OF(CONF_VALUE)*  section 
)

void X509V3_set_ctx ( X509V3_CTX ctx,
X509 issuer,
X509 subject,
X509_REQ req,
X509_CRL crl,
int  flags 
)

void X509V3_string_free ( X509V3_CTX ctx,
char *  str 
)


Variable Documentation

Definition at line 477 of file x509v3.h.

GENERAL_NAMES * gen

Definition at line 480 of file x509v3.h.

char* section

Definition at line 554 of file x509v3.h.


Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6