OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
a_strnid.c File Reference
#include <stdio.h>
#include <ctype.h>
#include "cryptlib.h"
#include <openssl/asn1.h>
#include <openssl/objects.h>

Go to the source code of this file.

Macros

#define ub_name   32768
 
#define ub_common_name   64
 
#define ub_locality_name   128
 
#define ub_state_name   128
 
#define ub_organization_name   64
 
#define ub_organization_unit_name   64
 
#define ub_title   64
 
#define ub_email_address   128
 
#define ub_serial_number   64
 

Functions

unsigned long ASN1_STRING_get_default_mask (void)
 
int ASN1_STRING_set_default_mask_asc (const char *p)
 
ASN1_STRINGASN1_STRING_set_by_NID (ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid)
 
 DECLARE_OBJ_BSEARCH_CMP_FN (ASN1_STRING_TABLE, ASN1_STRING_TABLE, table)
 
 IMPLEMENT_OBJ_BSEARCH_CMP_FN (ASN1_STRING_TABLE, ASN1_STRING_TABLE, table)
 
ASN1_STRING_TABLEASN1_STRING_TABLE_get (int nid)
 
int ASN1_STRING_TABLE_add (int nid, long minsize, long maxsize, unsigned long mask, unsigned long flags)
 
void ASN1_STRING_TABLE_cleanup (void)
 

Macro Definition Documentation

#define ub_common_name   64

Definition at line 148 of file a_strnid.c.

#define ub_email_address   128

Definition at line 154 of file a_strnid.c.

#define ub_locality_name   128

Definition at line 149 of file a_strnid.c.

#define ub_name   32768

Definition at line 147 of file a_strnid.c.

#define ub_organization_name   64

Definition at line 151 of file a_strnid.c.

#define ub_organization_unit_name   64

Definition at line 152 of file a_strnid.c.

#define ub_serial_number   64

Definition at line 155 of file a_strnid.c.

#define ub_state_name   128

Definition at line 150 of file a_strnid.c.

#define ub_title   64

Definition at line 153 of file a_strnid.c.

Function Documentation

unsigned long ASN1_STRING_get_default_mask ( void  )

Definition at line 84 of file a_strnid.c.

ASN1_STRING* ASN1_STRING_set_by_NID ( ASN1_STRING **  out,
const unsigned char *  in,
int  inlen,
int  inform,
int  nid 
)

Definition at line 123 of file a_strnid.c.

int ASN1_STRING_set_default_mask_asc ( const char *  p)

Definition at line 98 of file a_strnid.c.

int ASN1_STRING_TABLE_add ( int  nid,
long  minsize,
long  maxsize,
unsigned long  mask,
unsigned long  flags 
)

Definition at line 212 of file a_strnid.c.

void ASN1_STRING_TABLE_cleanup ( void  )

Definition at line 242 of file a_strnid.c.

ASN1_STRING_TABLE* ASN1_STRING_TABLE_get ( int  nid)

Definition at line 197 of file a_strnid.c.

DECLARE_OBJ_BSEARCH_CMP_FN ( ASN1_STRING_TABLE  ,
ASN1_STRING_TABLE  ,
table   
)
IMPLEMENT_OBJ_BSEARCH_CMP_FN ( ASN1_STRING_TABLE  ,
ASN1_STRING_TABLE  ,
table   
)