Ruby
1.9.3p551(2014-11-13revision48407)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | WrapX509Ext(klass, obj, ext) |
#define | GetX509Ext(obj, ext) |
#define | SafeGetX509Ext(obj, ext) |
#define | MakeX509ExtFactory(klass, obj, ctx) |
#define | GetX509ExtFactory(obj, ctx) |
#define | ossl_x509extfactory_set_config rb_f_notimplement |
Variables | |
VALUE | cX509Ext |
VALUE | cX509ExtFactory |
VALUE | eX509ExtError |
#define GetX509Ext | ( | obj, | |
ext | |||
) |
Definition at line 19 of file ossl_x509ext.c.
Referenced by ossl_x509ext_get_critical(), ossl_x509ext_get_oid(), ossl_x509ext_get_value(), ossl_x509ext_initialize(), ossl_x509ext_set_critical(), ossl_x509ext_set_oid(), ossl_x509ext_set_value(), and ossl_x509ext_to_der().
#define GetX509ExtFactory | ( | obj, | |
ctx | |||
) |
Definition at line 35 of file ossl_x509ext.c.
Referenced by ossl_x509extfactory_create_ext(), ossl_x509extfactory_set_crl(), ossl_x509extfactory_set_issuer_cert(), ossl_x509extfactory_set_subject_cert(), and ossl_x509extfactory_set_subject_req().
Definition at line 29 of file ossl_x509ext.c.
Referenced by ossl_x509extfactory_alloc().
#define ossl_x509extfactory_set_config rb_f_notimplement |
Definition at line 181 of file ossl_x509ext.c.
Referenced by Init_ossl_x509ext().
#define SafeGetX509Ext | ( | obj, | |
ext | |||
) |
Definition at line 25 of file ossl_x509ext.c.
Referenced by DupX509ExtPtr(), and GetX509ExtPtr().
Definition at line 13 of file ossl_x509ext.c.
Referenced by ossl_x509ext_alloc(), ossl_x509ext_new(), and ossl_x509extfactory_create_ext().
X509_EXTENSION* DupX509ExtPtr | ( | VALUE | obj | ) |
Definition at line 82 of file ossl_x509ext.c.
References eX509ExtError, NULL, ossl_raise(), and SafeGetX509Ext.
Referenced by ossl_x509_add_extension(), ossl_x509_set_extensions(), ossl_x509crl_add_extension(), ossl_x509crl_set_extensions(), ossl_x509revoked_add_extension(), and ossl_x509revoked_set_extensions().
X509_EXTENSION* GetX509ExtPtr | ( | VALUE | obj | ) |
Definition at line 72 of file ossl_x509ext.c.
References SafeGetX509Ext.
Definition at line 439 of file ossl_x509ext.c.
References cX509Ext, cX509ExtFactory, eOSSLError, eX509ExtError, mX509, ossl_x509ext_alloc(), ossl_x509ext_get_critical(), ossl_x509ext_get_oid(), ossl_x509ext_get_value(), ossl_x509ext_initialize(), ossl_x509ext_set_critical(), ossl_x509ext_set_oid(), ossl_x509ext_set_value(), ossl_x509ext_to_der(), ossl_x509extfactory_alloc(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509extfactory_set_config, ossl_x509extfactory_set_crl(), ossl_x509extfactory_set_issuer_cert(), ossl_x509extfactory_set_subject_cert(), ossl_x509extfactory_set_subject_req(), Qfalse, rb_attr(), rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_method(), and rb_intern.
Referenced by Init_ossl_x509().
Definition at line 260 of file ossl_x509ext.c.
References eX509ExtError, NULL, obj, ossl_raise(), and WrapX509Ext.
Referenced by Init_ossl_x509ext().
Definition at line 407 of file ossl_x509ext.c.
References GetX509Ext, Qfalse, and Qtrue.
Referenced by Init_ossl_x509ext().
Definition at line 367 of file ossl_x509ext.c.
References eX509ExtError, GetX509Ext, NULL, ossl_membio2str(), ossl_raise(), out, rb_str_new2(), and ret.
Referenced by Init_ossl_x509ext().
Definition at line 390 of file ossl_x509ext.c.
References eX509ExtError, GetX509Ext, NULL, ossl_membio2str(), ossl_raise(), out, and ret.
Referenced by Init_ossl_x509ext().
Definition at line 286 of file ossl_x509ext.c.
References DATA_PTR(), eX509ExtError, GetX509Ext, NULL, oid, ossl_raise(), ossl_to_der_if_possible(), p, rb_funcall(), rb_intern, rb_scan_args(), RSTRING_LEN, RSTRING_PTR, StringValue, and value.
Referenced by Init_ossl_x509ext().
VALUE ossl_x509ext_new | ( | X509_EXTENSION * | ext | ) |
Definition at line 53 of file ossl_x509ext.c.
References cX509Ext, eX509ExtError, NULL, obj, ossl_raise(), and WrapX509Ext.
Referenced by ossl_x509_get_extensions(), ossl_x509crl_get_extensions(), and ossl_x509revoked_get_extensions().
Definition at line 356 of file ossl_x509ext.c.
References flag, GetX509Ext, and RTEST.
Referenced by Init_ossl_x509ext().
Definition at line 311 of file ossl_x509ext.c.
References eX509ExtError, GetX509Ext, NULL, obj, oid, ossl_raise(), s, and StringValuePtr.
Referenced by Init_ossl_x509ext().
Definition at line 328 of file ossl_x509ext.c.
References data, eX509ExtError, GetX509Ext, memcpy(), NULL, ossl_raise(), ossl_to_der_if_possible(), RSTRING_LEN, RSTRING_LENINT, RSTRING_PTR, s, and StringValue.
Referenced by Init_ossl_x509ext().
Definition at line 416 of file ossl_x509ext.c.
References eX509ExtError, GetX509Ext, len, NULL, ossl_raise(), ossl_str_adjust, p, rb_str_new(), RSTRING_PTR, and str.
Referenced by Init_ossl_x509ext().
Definition at line 107 of file ossl_x509ext.c.
References MakeX509ExtFactory, obj, Qnil, and rb_iv_set().
Referenced by Init_ossl_x509ext().
Definition at line 215 of file ossl_x509ext.c.
References cX509Ext, eX509ExtError, GetConfigPtr(), GetX509ExtFactory, NIL_P, NULL, obj, oid, ossl_raise(), Qfalse, rb_iv_get(), rb_scan_args(), rb_str_append(), rb_str_new2(), RSTRING_PTR, RTEST, StringValue, value, and WrapX509Ext.
Referenced by Init_ossl_x509ext().
|
static |
Definition at line 101 of file ossl_x509ext.c.
Definition at line 185 of file ossl_x509ext.c.
References NIL_P, ossl_x509extfactory_set_crl(), ossl_x509extfactory_set_issuer_cert(), ossl_x509extfactory_set_subject_cert(), ossl_x509extfactory_set_subject_req(), and rb_scan_args().
Referenced by Init_ossl_x509ext().
Definition at line 155 of file ossl_x509ext.c.
References GetX509CRLPtr(), GetX509ExtFactory, and rb_iv_set().
Referenced by Init_ossl_x509ext(), and ossl_x509extfactory_initialize().
Definition at line 119 of file ossl_x509ext.c.
References GetX509CertPtr(), GetX509ExtFactory, and rb_iv_set().
Referenced by Init_ossl_x509ext(), and ossl_x509extfactory_initialize().
Definition at line 131 of file ossl_x509ext.c.
References GetX509CertPtr(), GetX509ExtFactory, and rb_iv_set().
Referenced by Init_ossl_x509ext(), and ossl_x509extfactory_initialize().
Definition at line 143 of file ossl_x509ext.c.
References GetX509ExtFactory, GetX509ReqPtr(), and rb_iv_set().
Referenced by Init_ossl_x509ext(), and ossl_x509extfactory_initialize().
VALUE cX509Ext |
Definition at line 45 of file ossl_x509ext.c.
Referenced by Init_ossl_x509ext(), ossl_x509_set_extensions(), ossl_x509crl_set_extensions(), ossl_x509ext_new(), ossl_x509extfactory_create_ext(), and ossl_x509revoked_set_extensions().
VALUE cX509ExtFactory |
Definition at line 46 of file ossl_x509ext.c.
Referenced by Init_ossl_x509ext().
VALUE eX509ExtError |
Definition at line 47 of file ossl_x509ext.c.
Referenced by DupX509ExtPtr(), Init_ossl_x509ext(), ossl_x509ext_alloc(), ossl_x509ext_get_oid(), ossl_x509ext_get_value(), ossl_x509ext_initialize(), ossl_x509ext_new(), ossl_x509ext_set_oid(), ossl_x509ext_set_value(), ossl_x509ext_to_der(), and ossl_x509extfactory_create_ext().