Ruby
2.1.10p492(2016-04-01revision54464)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | WrapX509Name(klass, obj, name) |
#define | GetX509Name(obj, name) |
#define | SafeGetX509Name(obj, name) |
#define | OBJECT_TYPE_TEMPLATE rb_const_get(cX509Name, rb_intern("OBJECT_TYPE_TEMPLATE")) |
#define | DEFAULT_OBJECT_TYPE rb_const_get(cX509Name, rb_intern("DEFAULT_OBJECT_TYPE")) |
#define | rb_aref(obj, key) rb_funcall((obj), id_aref, 1, (key)) |
Functions | |
VALUE | ossl_x509name_new (X509_NAME *name) |
X509_NAME * | GetX509NamePtr (VALUE obj) |
static VALUE | ossl_x509name_alloc (VALUE klass) |
static VALUE | ossl_x509name_add_entry (int, VALUE *, VALUE) |
Check_Type (i, T_ARRAY) | |
if (NIL_P(entry[2])) | |
static VALUE | ossl_x509name_to_s_old (VALUE self) |
static VALUE | ossl_x509name_to_s (int argc, VALUE *argv, VALUE self) |
static VALUE | ossl_x509name_to_a (VALUE self) |
static int | ossl_x509name_cmp0 (VALUE self, VALUE other) |
static VALUE | ossl_x509name_cmp (VALUE self, VALUE other) |
static VALUE | ossl_x509name_eql (VALUE self, VALUE other) |
static VALUE | ossl_x509name_hash (VALUE self) |
static VALUE | ossl_x509name_to_der (VALUE self) |
void | Init_ossl_x509name () |
Variables | |
VALUE | cX509Name |
VALUE | eX509NameError |
static ID | id_aref |
static | VALUE |
VALUE | template = rb_ary_entry(args, 1) |
VALUE | entry [3] = rb_ary_entry(i, 0) |
#define DEFAULT_OBJECT_TYPE rb_const_get(cX509Name, rb_intern("DEFAULT_OBJECT_TYPE")) |
Definition at line 32 of file ossl_x509name.c.
Definition at line 19 of file ossl_x509name.c.
Referenced by ossl_x509name_add_entry(), ossl_x509name_cmp0(), ossl_x509name_hash(), ossl_x509name_to_a(), ossl_x509name_to_der(), ossl_x509name_to_s(), and ossl_x509name_to_s_old().
#define OBJECT_TYPE_TEMPLATE rb_const_get(cX509Name, rb_intern("OBJECT_TYPE_TEMPLATE")) |
Definition at line 30 of file ossl_x509name.c.
Referenced by ossl_x509name_add_entry().
Definition at line 92 of file ossl_x509name.c.
Referenced by ossl_x509name_add_entry().
Definition at line 25 of file ossl_x509name.c.
Referenced by GetX509NamePtr(), and ossl_x509name_cmp0().
Definition at line 13 of file ossl_x509name.c.
Referenced by ossl_x509name_alloc(), and ossl_x509name_new().
Referenced by alias(), append_method(), assert_array(), assert_hash(), BigDecimal_ceil(), BigDecimal_floor(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_round(), BigDecimal_truncate(), check_autoload_required(), check_rounding_mode(), cParser_initialize(), cState_array_nl_set(), cState_buffer_initial_length_set(), cState_configure(), cState_depth_set(), cState_indent_set(), cState_max_nesting_set(), cState_object_nl_set(), cState_space_before_set(), cState_space_set(), features_index_add_single(), folevariant_s_array(), generate_json(), generate_json_object(), get_pat(), GetPositiveInt(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), initialize(), initialize_params(), kwcheck_i(), kwmerge_i(), match_setter(), mObject_to_json(), mString_Extend_json_create(), mString_to_json_raw(), mSyslog_inspect(), nucomp_marshal_load(), nurat_marshal_load(), ole_invoke2(), ole_val_ary2variant_ary(), ossl_call_client_cert_cb(), ossl_call_session_get_cb(), ossl_call_session_new_cb(), ossl_call_session_remove_cb(), ossl_ssl_initialize(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509crl_set_revoked(), ossl_x509req_set_attributes(), ossl_x509revoked_set_extensions(), random_load(), rawmode_opt(), rb_class_new(), rb_data_object_alloc(), rb_data_typed_object_alloc(), rb_define_alloc_func(), rb_dlcfunc_call(), rb_frozen_class_p(), rb_fstring(), rb_get_alloc_func(), rb_gzreader_readpartial(), rb_hash_initialize_copy(), rb_include_module(), rb_mod_append_features(), rb_mod_include(), rb_mod_include_p(), rb_mod_prepend(), rb_mod_prepend_features(), rb_mod_refine(), rb_obj_extend(), rb_prepend_module(), rb_str_quote_unprintable(), rb_using_module(), rb_using_refinement(), rb_zstream_set_avail_out(), readline_s_set_input(), readline_s_set_output(), rsock_revlookup_flag(), scalar(), select_internal(), set_argv(), start_document(), start_mapping(), start_sequence(), start_stream(), and strscan_do_scan().
X509_NAME* GetX509NamePtr | ( | VALUE | obj | ) |
Definition at line 64 of file ossl_x509name.c.
References name, and SafeGetX509Name.
Referenced by ossl_x509_set_issuer(), ossl_x509_set_subject(), ossl_x509crl_set_issuer(), and ossl_x509req_set_subject().
Definition at line 105 of file ossl_x509name.c.
Definition at line 428 of file ossl_x509name.c.
References cX509Name, eOSSLError, eX509NameError, hash, id_aref, INT2NUM, mX509, ossl_x509name_add_entry(), ossl_x509name_alloc(), ossl_x509name_cmp(), ossl_x509name_eql(), ossl_x509name_hash(), ossl_x509name_to_a(), ossl_x509name_to_der(), ossl_x509name_to_s(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_const(), rb_define_method(), rb_hash_aset(), rb_hash_new(), rb_include_module(), rb_intern, rb_mComparable, rb_str_new2, RHASH_SET_IFNONE, and ULONG2NUM.
Referenced by Init_ossl_x509().
Definition at line 182 of file ossl_x509name.c.
References eX509NameError, GetX509Name, name, NIL_P(), NULL, NUM2INT, OBJECT_TYPE_TEMPLATE, ossl_raise(), rb_aref, rb_scan_args(), RSTRING_LENINT, RSTRING_PTR, StringValue, type, and value.
Referenced by Init_ossl_x509name().
Definition at line 77 of file ossl_x509name.c.
References eX509NameError, name, NULL, obj, ossl_raise(), and WrapX509Name.
Referenced by Init_ossl_x509name().
Definition at line 318 of file ossl_x509name.c.
References INT2FIX, ossl_x509name_cmp0(), and result.
Referenced by Init_ossl_x509name().
Definition at line 299 of file ossl_x509name.c.
References GetX509Name, name1, name2, and SafeGetX509Name.
Referenced by ossl_x509name_cmp(), and ossl_x509name_eql().
Definition at line 336 of file ossl_x509name.c.
References CLASS_OF, cX509Name, ossl_x509name_cmp0(), Qfalse, Qtrue, and result.
Referenced by Init_ossl_x509name().
Definition at line 354 of file ossl_x509name.c.
References GetX509Name, hash, name, and ULONG2NUM.
Referenced by Init_ossl_x509name().
VALUE ossl_x509name_new | ( | X509_NAME * | name | ) |
Definition at line 45 of file ossl_x509name.c.
References cX509Name, eX509NameError, NULL, obj, ossl_raise(), and WrapX509Name.
Referenced by ossl_pkcs7ri_get_issuer(), ossl_pkcs7si_get_issuer(), ossl_x509_get_issuer(), ossl_x509_get_subject(), ossl_x509crl_get_issuer(), and ossl_x509req_get_subject().
Definition at line 259 of file ossl_x509name.c.
References ary, entry, eX509NameError, GetX509Name, i, INT2FIX, name, NULL, OSSL_Debug, ossl_raise(), rb_ary_new(), rb_ary_new2, rb_ary_new3, rb_ary_push(), rb_str_new(), rb_str_new2, and ret.
Referenced by Init_ossl_x509name().
Definition at line 394 of file ossl_x509name.c.
References eX509NameError, GetX509Name, len, name, NULL, ossl_raise(), ossl_str_adjust, p, rb_str_new(), RSTRING_PTR, and str.
Referenced by Init_ossl_x509name().
Definition at line 228 of file ossl_x509name.c.
References eX509NameError, flag, GetX509Name, name, NIL_P(), NULL, NUM2ULONG, ossl_membio2str(), ossl_raise(), ossl_x509name_to_s_old(), out, rb_scan_args(), and str.
Referenced by Init_ossl_x509name().
Definition at line 201 of file ossl_x509name.c.
References buf, GetX509Name, name, NULL, rb_str_new2, and str.
Referenced by ossl_x509name_to_s().
VALUE cX509Name |
Definition at line 38 of file ossl_x509name.c.
Referenced by Init_ossl_x509name(), ossl_x509name_eql(), and ossl_x509name_new().
entry[2] = rb_ary_entry(i, 0) |
Definition at line 99 of file ossl_x509name.c.
Referenced by add_direct(), asciicompat_encoding_i(), collect_caller_bindings(), cont_capture(), declare_transcoder(), decorate_convpath(), find_line_no(), get_loaded_features_index(), hist_each(), hist_get(), insn_data_to_s_detail(), iseq_data_to_ary(), iseq_insns_unification(), iseq_set_exception_table(), iseq_set_sequence(), make_transcoder_entry(), mark_global_entry(), new_entry(), ossl_x509name_to_a(), rb_class_remove_from_module_subclasses(), rb_class_remove_from_super_subclasses(), rb_class_subclass_add(), rb_econv_add_converter(), rb_f_trace_var(), rb_f_untrace_var(), rb_feature_p(), rb_global_entry(), rb_gv_get(), rb_gv_set(), rb_insn_operand_intern(), rb_iseq_disasm(), rb_module_add_to_subclasses_list(), rb_register_transcoder(), rb_remove_history(), rollback_ensure_stack(), st_copy(), unpack_entries(), vm_exec(), and vm_throw().
VALUE eX509NameError |
Definition at line 39 of file ossl_x509name.c.
Referenced by Init_ossl_x509name(), ossl_x509name_add_entry(), ossl_x509name_alloc(), ossl_x509name_new(), ossl_x509name_to_a(), ossl_x509name_to_der(), and ossl_x509name_to_s().
|
static |
Definition at line 90 of file ossl_x509name.c.
Referenced by Init_ossl_x509name().
VALUE template = rb_ary_entry(args, 1) |
Definition at line 98 of file ossl_x509name.c.
|
static |
Definition at line 96 of file ossl_x509name.c.