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)  

time.c File Reference
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include "util.h"
#include "convert.h"
Include dependency graph for time.c:

Go to the source code of this file.


gpg_error_t _ksba_asntime_to_iso (const char *buffer, size_t length, int is_utctime, ksba_isotime_t timebuf)
gpg_error_t _ksba_assert_time_format (const ksba_isotime_t atime)
void _ksba_copy_time (ksba_isotime_t d, const ksba_isotime_t s)
int _ksba_cmp_time (const ksba_isotime_t a, const ksba_isotime_t b)
void _ksba_current_time (ksba_isotime_t timebuf)

Function Documentation

◆ _ksba_asntime_to_iso()

gpg_error_t _ksba_asntime_to_iso ( const char *  buffer,
size_t  length,
int  is_utctime,
ksba_isotime_t  timebuf 

◆ _ksba_assert_time_format()

gpg_error_t _ksba_assert_time_format ( const ksba_isotime_t  atime)

Definition at line 102 of file time.c.

References digitp, GPG_ERR_BUG, and gpg_error.

Referenced by _ksba_certreq_set_validity(), _ksba_copy_time(), and _ksba_der_store_time().

◆ _ksba_cmp_time()

int _ksba_cmp_time ( const ksba_isotime_t  a,
const ksba_isotime_t  b 

Definition at line 145 of file time.c.

Referenced by _ksba_der_store_time(), and build_cri().

◆ _ksba_copy_time()

◆ _ksba_current_time()

void _ksba_current_time ( ksba_isotime_t  timebuf)

Definition at line 152 of file time.c.

Referenced by _ksba_cms_set_signing_time().