Functions
a_time.c File Reference
#include <openssl/asn1.h>
#include <string.h>
#include <time.h>
#include <openssl/asn1t.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
Include dependency graph for a_time.c:

Go to the source code of this file.

Functions

ASN1_TIMEASN1_TIME_adj (ASN1_TIME *s, time_t t, int offset_day, long offset_sec)
 
int ASN1_TIME_check (const ASN1_TIME *t)
 
int ASN1_TIME_diff (int *out_days, int *out_seconds, const ASN1_TIME *from, const ASN1_TIME *to)
 
int ASN1_TIME_set_string (ASN1_TIME *s, const char *str)
 
ASN1_GENERALIZEDTIMEASN1_TIME_to_generalizedtime (const ASN1_TIME *t, ASN1_GENERALIZEDTIME **out)
 
static int asn1_time_to_tm (struct tm *tm, const ASN1_TIME *t)
 
 IMPLEMENT_ASN1_FUNCTIONS_const (ASN1_TIME)
 

Function Documentation

◆ ASN1_TIME_adj()

ASN1_TIME* ASN1_TIME_adj ( ASN1_TIME s,
time_t  t,
int  offset_day,
long  offset_sec 
)

Definition at line 83 of file a_time.c.

◆ ASN1_TIME_check()

int ASN1_TIME_check ( const ASN1_TIME t)

Definition at line 103 of file a_time.c.

◆ ASN1_TIME_diff()

int ASN1_TIME_diff ( int out_days,
int out_seconds,
const ASN1_TIME from,
const ASN1_TIME to 
)

Definition at line 203 of file a_time.c.

◆ ASN1_TIME_set_string()

int ASN1_TIME_set_string ( ASN1_TIME s,
const char *  str 
)

Definition at line 163 of file a_time.c.

◆ ASN1_TIME_to_generalizedtime()

ASN1_GENERALIZEDTIME* ASN1_TIME_to_generalizedtime ( const ASN1_TIME t,
ASN1_GENERALIZEDTIME **  out 
)

Definition at line 113 of file a_time.c.

◆ asn1_time_to_tm()

static int asn1_time_to_tm ( struct tm tm,
const ASN1_TIME t 
)
static

Definition at line 185 of file a_time.c.

◆ IMPLEMENT_ASN1_FUNCTIONS_const()

IMPLEMENT_ASN1_FUNCTIONS_const ( ASN1_TIME  )

Definition at line 76 of file a_time.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:01