Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions | Variables
ossl_x509.c File Reference
#include "ossl.h"

Go to the source code of this file.

Macros

#define DefX509Const(x)   rb_define_const(mX509, #x, INT2NUM(X509_##x))
 
#define DefX509Default(x, i)   rb_define_const(mX509, "DEFAULT_" #x, rb_str_new2(X509_get_default_##i()))
 

Functions

ASN1_TIME * ossl_x509_time_adjust (ASN1_TIME *s, VALUE time)
 
void Init_ossl_x509 (void)
 

Variables

VALUE mX509
 

Macro Definition Documentation

◆ DefX509Const

#define DefX509Const (   x)    rb_define_const(mX509, #x, INT2NUM(X509_##x))

Definition at line 14 of file ossl_x509.c.

Referenced by Init_ossl_x509().

◆ DefX509Default

#define DefX509Default (   x,
 
)    rb_define_const(mX509, "DEFAULT_" #x, rb_str_new2(X509_get_default_##i()))

Definition at line 15 of file ossl_x509.c.

Referenced by Init_ossl_x509().

Function Documentation

◆ Init_ossl_x509()

void Init_ossl_x509 ( void  )

◆ ossl_x509_time_adjust()

ASN1_TIME* ossl_x509_time_adjust ( ASN1_TIME *  s,
VALUE  time 
)

Definition at line 19 of file ossl_x509.c.

References ossl_time_split().

Variable Documentation

◆ mX509

VALUE mX509