|
Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include "ossl.h"Go to the source code of this file.
Macros | |
| #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 |
| const rb_data_type_t | ossl_pkcs7_type |
| #define DefPKCS7Const | ( | x | ) | rb_define_const(cPKCS7, #x, INT2NUM(PKCS7_##x)) |
| #define GetPKCS7ri | ( | obj, | |
| p7ri | |||
| ) |
Definition at line 35 of file ossl_pkcs7.c.
| #define GetPKCS7si | ( | obj, | |
| p7si | |||
| ) |
Definition at line 20 of file ossl_pkcs7.c.
| #define NewPKCS7ri | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs7_recip_info_type, 0) |
Definition at line 27 of file ossl_pkcs7.c.
| #define NewPKCS7si | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_pkcs7_signer_info_type, 0) |
Definition at line 12 of file ossl_pkcs7.c.
| #define numberof | ( | ary | ) | (int)(sizeof(ary)/sizeof((ary)[0])) |
Definition at line 42 of file ossl_pkcs7.c.
| #define ossl_pkcs7_get_data | ( | o | ) | rb_iv_get((o), "@data") |
Definition at line 45 of file ossl_pkcs7.c.
| #define ossl_pkcs7_get_err_string | ( | o | ) | rb_iv_get((o), "@error_string") |
Definition at line 47 of file ossl_pkcs7.c.
| #define ossl_pkcs7_set_data | ( | o, | |
| v | |||
| ) | rb_iv_set((o), "@data", (v)) |
Definition at line 44 of file ossl_pkcs7.c.
| #define ossl_pkcs7_set_err_string | ( | o, | |
| v | |||
| ) | rb_iv_set((o), "@error_string", (v)) |
Definition at line 46 of file ossl_pkcs7.c.
| #define SetPKCS7ri | ( | obj, | |
| p7ri | |||
| ) |
Definition at line 29 of file ossl_pkcs7.c.
| #define SetPKCS7si | ( | obj, | |
| p7si | |||
| ) |
Definition at line 14 of file ossl_pkcs7.c.
| void Init_ossl_pkcs7 | ( | void | ) |
Definition at line 1028 of file ossl_pkcs7.c.
References BINARY, cPKCS7, cPKCS7Recipient, cPKCS7Signer, DefPKCS7Const, eOSSLError, ePKCS7Error, mOSSL, Qfalse, rb_attr(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_const(), rb_define_method, rb_define_module(), rb_define_singleton_method, rb_eStandardError, and rb_intern().
Referenced by Init_openssl().
| VALUE cPKCS7 |
Definition at line 52 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().
| VALUE cPKCS7Recipient |
Definition at line 54 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().
| VALUE cPKCS7Signer |
Definition at line 53 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().
| VALUE ePKCS7Error |
Definition at line 55 of file ossl_pkcs7.c.
Referenced by Init_ossl_pkcs7().
| const rb_data_type_t ossl_pkcs7_type |
Definition at line 63 of file ossl_pkcs7.c.