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

Go to the source code of this file.

Functions

int ASN1_check_infinite_end (unsigned char **p, long len)
 
int ASN1_const_check_infinite_end (const unsigned char **p, long len)
 
int ASN1_get_object (const unsigned char **pp, long *plength, int *ptag, int *pclass, long omax)
 
void ASN1_put_object (unsigned char **pp, int constructed, int length, int tag, int xclass)
 
int ASN1_put_eoc (unsigned char **pp)
 
int ASN1_object_size (int constructed, int length, int tag)
 
int asn1_Finish (ASN1_CTX *c)
 
int asn1_const_Finish (ASN1_const_CTX *c)
 
int asn1_GetSequence (ASN1_const_CTX *c, long *length)
 
int ASN1_STRING_copy (ASN1_STRING *dst, const ASN1_STRING *str)
 
ASN1_STRINGASN1_STRING_dup (const ASN1_STRING *str)
 
int ASN1_STRING_set (ASN1_STRING *str, const void *_data, int len)
 
void ASN1_STRING_set0 (ASN1_STRING *str, void *data, int len)
 
ASN1_STRINGASN1_STRING_new (void)
 
ASN1_STRINGASN1_STRING_type_new (int type)
 
void ASN1_STRING_free (ASN1_STRING *a)
 
int ASN1_STRING_cmp (const ASN1_STRING *a, const ASN1_STRING *b)
 
void asn1_add_error (const unsigned char *address, int offset)
 
int ASN1_STRING_length (const ASN1_STRING *x)
 
void ASN1_STRING_length_set (ASN1_STRING *x, int len)
 
int ASN1_STRING_type (ASN1_STRING *x)
 
unsigned char * ASN1_STRING_data (ASN1_STRING *x)
 

Variables

const char ASN1_version [] ="ASN.1" OPENSSL_VERSION_PTEXT
 

Function Documentation

void asn1_add_error ( const unsigned char *  address,
int  offset 
)

Definition at line 463 of file asn1_lib.c.

int ASN1_check_infinite_end ( unsigned char **  p,
long  len 
)

Definition at line 83 of file asn1_lib.c.

int ASN1_const_check_infinite_end ( const unsigned char **  p,
long  len 
)

Definition at line 88 of file asn1_lib.c.

int asn1_const_Finish ( ASN1_const_CTX c)

Definition at line 309 of file asn1_lib.c.

int asn1_Finish ( ASN1_CTX c)

Definition at line 304 of file asn1_lib.c.

int ASN1_get_object ( const unsigned char **  pp,
long *  plength,
int *  ptag,
int *  pclass,
long  omax 
)

Definition at line 94 of file asn1_lib.c.

int asn1_GetSequence ( ASN1_const_CTX c,
long *  length 
)

Definition at line 314 of file asn1_lib.c.

int ASN1_object_size ( int  constructed,
int  length,
int  tag 
)

Definition at line 257 of file asn1_lib.c.

int ASN1_put_eoc ( unsigned char **  pp)

Definition at line 225 of file asn1_lib.c.

void ASN1_put_object ( unsigned char **  pp,
int  constructed,
int  length,
int  tag,
int  xclass 
)

Definition at line 195 of file asn1_lib.c.

int ASN1_STRING_cmp ( const ASN1_STRING a,
const ASN1_STRING b 
)

Definition at line 446 of file asn1_lib.c.

int ASN1_STRING_copy ( ASN1_STRING dst,
const ASN1_STRING str 
)

Definition at line 343 of file asn1_lib.c.

unsigned char* ASN1_STRING_data ( ASN1_STRING x)

Definition at line 481 of file asn1_lib.c.

ASN1_STRING* ASN1_STRING_dup ( const ASN1_STRING str)

Definition at line 354 of file asn1_lib.c.

void ASN1_STRING_free ( ASN1_STRING a)

Definition at line 438 of file asn1_lib.c.

int ASN1_STRING_length ( const ASN1_STRING x)

Definition at line 472 of file asn1_lib.c.

void ASN1_STRING_length_set ( ASN1_STRING x,
int  len 
)

Definition at line 475 of file asn1_lib.c.

ASN1_STRING* ASN1_STRING_new ( void  )

Definition at line 415 of file asn1_lib.c.

int ASN1_STRING_set ( ASN1_STRING str,
const void _data,
int  len 
)

Definition at line 370 of file asn1_lib.c.

void ASN1_STRING_set0 ( ASN1_STRING str,
void data,
int  len 
)

Definition at line 407 of file asn1_lib.c.

int ASN1_STRING_type ( ASN1_STRING x)

Definition at line 478 of file asn1_lib.c.

ASN1_STRING* ASN1_STRING_type_new ( int  type)

Definition at line 421 of file asn1_lib.c.

Variable Documentation

const char ASN1_version[] ="ASN.1" OPENSSL_VERSION_PTEXT

Definition at line 67 of file asn1_lib.c.