libksba  1.6.0
About: KSBA is a library to make the tasks of working with X.509 certificates, CMS data and related objects more easy.
  Fossies Dox: libksba-1.6.0.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

name.c File Reference
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include "util.h"
#include "asn1-func.h"
#include "convert.h"
#include "ber-help.h"
Include dependency graph for name.c:

Go to the source code of this file.

Data Structures

struct  ksba_name_s
 

Functions

gpg_error_t _ksba_name_new (ksba_name_t *r_name)
 
void _ksba_name_ref (ksba_name_t name)
 
void _ksba_name_release (ksba_name_t name)
 
gpg_error_t _ksba_name_new_from_der (ksba_name_t *r_name, const unsigned char *image, size_t imagelen)
 
const char * _ksba_name_enum (ksba_name_t name, int idx)
 
char * _ksba_name_get_uri (ksba_name_t name, int idx)
 

Function Documentation

◆ _ksba_name_enum()

const char* _ksba_name_enum ( ksba_name_t  name,
int  idx 
)

Definition at line 240 of file name.c.

References name.

◆ _ksba_name_get_uri()

char* _ksba_name_get_uri ( ksba_name_t  name,
int  idx 
)

Definition at line 254 of file name.c.

References atoi_1, tag_info::buf, digitp, ksba_name_enum(), name, and xtrymalloc.

◆ _ksba_name_new()

gpg_error_t _ksba_name_new ( ksba_name_t r_name)

Definition at line 54 of file name.c.

References xtrycalloc.

◆ _ksba_name_new_from_der()

◆ _ksba_name_ref()

void _ksba_name_ref ( ksba_name_t  name)

Definition at line 65 of file name.c.

References name.

◆ _ksba_name_release()

void _ksba_name_release ( ksba_name_t  name)

Definition at line 75 of file name.c.

References name, and xfree.