OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Enumerations | Functions
bio_asn1.c File Reference
#include <string.h>
#include <openssl/bio.h>
#include <openssl/asn1.h>

Go to the source code of this file.

Classes

struct  BIO_ASN1_EX_FUNCS_st
 
struct  BIO_ASN1_BUF_CTX_t
 

Macros

#define DEFAULT_ASN1_BUF_SIZE   20
 

Typedefs

typedef struct BIO_ASN1_EX_FUNCS_st BIO_ASN1_EX_FUNCS
 
typedef struct BIO_ASN1_BUF_CTX_t BIO_ASN1_BUF_CTX
 

Enumerations

enum  asn1_bio_state_t {
  ASN1_STATE_START, ASN1_STATE_PRE_COPY, ASN1_STATE_HEADER, ASN1_STATE_HEADER_COPY,
  ASN1_STATE_DATA_COPY, ASN1_STATE_POST_COPY, ASN1_STATE_DONE
}
 

Functions

BIO_METHODBIO_f_asn1 (void)
 
int BIO_asn1_set_prefix (BIO *b, asn1_ps_func *prefix, asn1_ps_func *prefix_free)
 
int BIO_asn1_get_prefix (BIO *b, asn1_ps_func **pprefix, asn1_ps_func **pprefix_free)
 
int BIO_asn1_set_suffix (BIO *b, asn1_ps_func *suffix, asn1_ps_func *suffix_free)
 
int BIO_asn1_get_suffix (BIO *b, asn1_ps_func **psuffix, asn1_ps_func **psuffix_free)
 

Macro Definition Documentation

#define DEFAULT_ASN1_BUF_SIZE   20

Definition at line 69 of file bio_asn1.c.

Typedef Documentation

Enumeration Type Documentation

Enumerator:
ASN1_STATE_START 
ASN1_STATE_PRE_COPY 
ASN1_STATE_HEADER 
ASN1_STATE_HEADER_COPY 
ASN1_STATE_DATA_COPY 
ASN1_STATE_POST_COPY 
ASN1_STATE_DONE 

Definition at line 71 of file bio_asn1.c.

Function Documentation

int BIO_asn1_get_prefix ( BIO b,
asn1_ps_func **  pprefix,
asn1_ps_func **  pprefix_free 
)

Definition at line 482 of file bio_asn1.c.

int BIO_asn1_get_suffix ( BIO b,
asn1_ps_func **  psuffix,
asn1_ps_func **  psuffix_free 
)

Definition at line 492 of file bio_asn1.c.

int BIO_asn1_set_prefix ( BIO b,
asn1_ps_func prefix,
asn1_ps_func prefix_free 
)

Definition at line 477 of file bio_asn1.c.

int BIO_asn1_set_suffix ( BIO b,
asn1_ps_func suffix,
asn1_ps_func suffix_free 
)

Definition at line 487 of file bio_asn1.c.

BIO_METHOD* BIO_f_asn1 ( void  )

Definition at line 144 of file bio_asn1.c.