Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewPKCS12(klass) TypedData_Wrap_Struct((klass), &ossl_pkcs12_type, 0) |
#define | SetPKCS12(obj, p12) |
#define | GetPKCS12(obj, p12) |
#define | ossl_pkcs12_set_key(o, v) rb_iv_set((o), "@key", (v)) |
#define | ossl_pkcs12_set_cert(o, v) rb_iv_set((o), "@certificate", (v)) |
#define | ossl_pkcs12_set_ca_certs(o, v) rb_iv_set((o), "@ca_certs", (v)) |
#define | ossl_pkcs12_get_key(o) rb_iv_get((o), "@key") |
#define | ossl_pkcs12_get_cert(o) rb_iv_get((o), "@certificate") |
#define | ossl_pkcs12_get_ca_certs(o) rb_iv_get((o), "@ca_certs") |
Functions | |
void | Init_ossl_pkcs12 (void) |
Variables | |
VALUE | cPKCS12 |
VALUE | ePKCS12Error |
#define GetPKCS12 | ( | obj, | |
p12 | |||
) |
Definition at line 15 of file ossl_pkcs12.c.
#define NewPKCS12 | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs12_type, 0) |
Definition at line 7 of file ossl_pkcs12.c.
#define ossl_pkcs12_get_ca_certs | ( | o | ) | rb_iv_get((o), "@ca_certs") |
Definition at line 25 of file ossl_pkcs12.c.
#define ossl_pkcs12_get_cert | ( | o | ) | rb_iv_get((o), "@certificate") |
Definition at line 24 of file ossl_pkcs12.c.
#define ossl_pkcs12_get_key | ( | o | ) | rb_iv_get((o), "@key") |
Definition at line 23 of file ossl_pkcs12.c.
#define ossl_pkcs12_set_ca_certs | ( | o, | |
v | |||
) | rb_iv_set((o), "@ca_certs", (v)) |
Definition at line 22 of file ossl_pkcs12.c.
#define ossl_pkcs12_set_cert | ( | o, | |
v | |||
) | rb_iv_set((o), "@certificate", (v)) |
Definition at line 21 of file ossl_pkcs12.c.
#define ossl_pkcs12_set_key | ( | o, | |
v | |||
) | rb_iv_set((o), "@key", (v)) |
Definition at line 20 of file ossl_pkcs12.c.
#define SetPKCS12 | ( | obj, | |
p12 | |||
) |
Definition at line 10 of file ossl_pkcs12.c.
void Init_ossl_pkcs12 | ( | void | ) |
Definition at line 233 of file ossl_pkcs12.c.
References cPKCS12, eOSSLError, ePKCS12Error, mOSSL, rb_cObject, rb_define_class_under(), rb_define_module(), rb_define_singleton_method(), and rb_eStandardError.
VALUE cPKCS12 |
Definition at line 30 of file ossl_pkcs12.c.
Referenced by Init_ossl_pkcs12().
VALUE ePKCS12Error |
Definition at line 31 of file ossl_pkcs12.c.
Referenced by Init_ossl_pkcs12().