Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewPKCS7(klass) TypedData_Wrap_Struct((klass), &ossl_pkcs7_type, 0) |
#define | SetPKCS7(obj, pkcs7) |
#define | GetPKCS7(obj, pkcs7) |
#define | NewPKCS7si(klass) TypedData_Wrap_Struct((klass), &ossl_pkcs7_signer_info_type, 0) |
#define | SetPKCS7si(obj, p7si) |
#define | GetPKCS7si(obj, p7si) |
#define | NewPKCS7ri(klass) TypedData_Wrap_Struct((klass), &ossl_pkcs7_recip_info_type, 0) |
#define | SetPKCS7ri(obj, p7ri) |
#define | GetPKCS7ri(obj, p7ri) |
#define | numberof(ary) (int)(sizeof(ary)/sizeof((ary)[0])) |
#define | ossl_pkcs7_set_data(o, v) rb_iv_set((o), "@data", (v)) |
#define | ossl_pkcs7_get_data(o) rb_iv_get((o), "@data") |
#define | ossl_pkcs7_set_err_string(o, v) rb_iv_set((o), "@error_string", (v)) |
#define | ossl_pkcs7_get_err_string(o) rb_iv_get((o), "@error_string") |
#define | DefPKCS7Const(x) rb_define_const(cPKCS7, #x, INT2NUM(PKCS7_##x)) |
Functions | |
void | Init_ossl_pkcs7 (void) |
Variables | |
VALUE | cPKCS7 |
VALUE | cPKCS7Signer |
VALUE | cPKCS7Recipient |
VALUE | ePKCS7Error |
#define DefPKCS7Const | ( | x | ) | rb_define_const(cPKCS7, #x, INT2NUM(PKCS7_##x)) |
#define GetPKCS7 | ( | obj, | |
pkcs7 | |||
) |
Definition at line 20 of file ossl_pkcs7.c.
#define GetPKCS7ri | ( | obj, | |
p7ri | |||
) |
Definition at line 50 of file ossl_pkcs7.c.
#define GetPKCS7si | ( | obj, | |
p7si | |||
) |
Definition at line 35 of file ossl_pkcs7.c.
#define NewPKCS7 | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs7_type, 0) |
Definition at line 12 of file ossl_pkcs7.c.
#define NewPKCS7ri | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs7_recip_info_type, 0) |
Definition at line 42 of file ossl_pkcs7.c.
#define NewPKCS7si | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs7_signer_info_type, 0) |
Definition at line 27 of file ossl_pkcs7.c.
#define numberof | ( | ary | ) | (int)(sizeof(ary)/sizeof((ary)[0])) |
Definition at line 57 of file ossl_pkcs7.c.
#define ossl_pkcs7_get_data | ( | o | ) | rb_iv_get((o), "@data") |
Definition at line 60 of file ossl_pkcs7.c.
#define ossl_pkcs7_get_err_string | ( | o | ) | rb_iv_get((o), "@error_string") |
Definition at line 62 of file ossl_pkcs7.c.
#define ossl_pkcs7_set_data | ( | o, | |
v | |||
) | rb_iv_set((o), "@data", (v)) |
Definition at line 59 of file ossl_pkcs7.c.
#define ossl_pkcs7_set_err_string | ( | o, | |
v | |||
) | rb_iv_set((o), "@error_string", (v)) |
Definition at line 61 of file ossl_pkcs7.c.
#define SetPKCS7 | ( | obj, | |
pkcs7 | |||
) |
Definition at line 14 of file ossl_pkcs7.c.
#define SetPKCS7ri | ( | obj, | |
p7ri | |||
) |
Definition at line 44 of file ossl_pkcs7.c.
#define SetPKCS7si | ( | obj, | |
p7si | |||
) |
Definition at line 29 of file ossl_pkcs7.c.
void Init_ossl_pkcs7 | ( | void | ) |
Definition at line 1043 of file ossl_pkcs7.c.
References cPKCS7, eOSSLError, ePKCS7Error, mOSSL, rb_cObject, rb_define_class_under(), rb_define_module(), rb_define_singleton_method(), and rb_eStandardError.
VALUE cPKCS7 |
Definition at line 67 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().
VALUE cPKCS7Recipient |
Definition at line 69 of file ossl_pkcs7.c.
VALUE cPKCS7Signer |
Definition at line 68 of file ossl_pkcs7.c.
VALUE ePKCS7Error |
Definition at line 70 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().