Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Req(klass) TypedData_Wrap_Struct((klass), &ossl_x509req_type, 0) |
#define | SetX509Req(obj, req) |
#define | GetX509Req(obj, req) |
#define | SafeGetX509Req(obj, req) |
Variables | |
VALUE | cX509Req |
VALUE | eX509ReqError |
static const rb_data_type_t | ossl_x509req_type |
#define GetX509Req | ( | obj, | |
req | |||
) |
Definition at line 20 of file ossl_x509req.c.
Referenced by ossl_x509req_add_attribute(), ossl_x509req_copy(), ossl_x509req_get_attributes(), ossl_x509req_get_public_key(), ossl_x509req_get_signature_algorithm(), ossl_x509req_get_subject(), ossl_x509req_get_version(), ossl_x509req_set_attributes(), ossl_x509req_set_public_key(), ossl_x509req_set_subject(), ossl_x509req_set_version(), ossl_x509req_sign(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), and ossl_x509req_verify().
#define NewX509Req | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509req_type, 0) |
Definition at line 12 of file ossl_x509req.c.
Referenced by ossl_x509req_alloc(), and ossl_x509req_new().
#define SafeGetX509Req | ( | obj, | |
req | |||
) |
Definition at line 26 of file ossl_x509req.c.
Referenced by DupX509ReqPtr(), GetX509ReqPtr(), and ossl_x509req_copy().
#define SetX509Req | ( | obj, | |
req | |||
) |
Definition at line 14 of file ossl_x509req.c.
Referenced by ossl_x509req_alloc(), and ossl_x509req_new().
X509_REQ* DupX509ReqPtr | ( | VALUE | obj | ) |
Definition at line 85 of file ossl_x509req.c.
References eX509ReqError, NULL, ossl_raise(), and SafeGetX509Req.
X509_REQ* GetX509ReqPtr | ( | VALUE | obj | ) |
Definition at line 75 of file ossl_x509req.c.
References SafeGetX509Req.
Referenced by ossl_x509extfactory_set_subject_req().
void Init_ossl_x509req | ( | void | ) |
Definition at line 446 of file ossl_x509req.c.
References cX509Req, eOSSLError, eX509ReqError, mOSSL, mX509, ossl_x509req_add_attribute(), ossl_x509req_alloc(), ossl_x509req_copy(), ossl_x509req_get_attributes(), ossl_x509req_get_public_key(), ossl_x509req_get_signature_algorithm(), ossl_x509req_get_subject(), ossl_x509req_get_version(), ossl_x509req_initialize(), ossl_x509req_set_attributes(), ossl_x509req_set_public_key(), ossl_x509req_set_subject(), ossl_x509req_set_version(), ossl_x509req_sign(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), ossl_x509req_verify(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_copy_func, rb_define_method(), rb_define_module(), rb_define_module_under(), and rb_eStandardError.
Referenced by Init_ossl_x509().
Definition at line 430 of file ossl_x509req.c.
References eX509ReqError, GetX509AttrPtr(), GetX509Req, NULL, and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 101 of file ossl_x509req.c.
References eX509ReqError, NewX509Req, NULL, ossl_raise(), and SetX509Req.
Referenced by Init_ossl_x509req().
Definition at line 141 of file ossl_x509req.c.
References DATA_PTR, eX509ReqError, GetX509Req, NULL, ossl_raise(), rb_check_frozen, and SafeGetX509Req.
Referenced by Init_ossl_x509req().
|
static |
Definition at line 38 of file ossl_x509req.c.
Definition at line 381 of file ossl_x509req.c.
References count, GetX509Req, OSSL_Debug, ossl_x509attr_new(), rb_ary_new(), rb_ary_new2, and rb_ary_push().
Referenced by Init_ossl_x509req().
Definition at line 313 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, NULL, ossl_pkey_new(), and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 292 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, NULL, ossl_membio2str(), ossl_raise(), and X509_REQ_get0_signature.
Referenced by Init_ossl_x509req().
Definition at line 264 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, name, NULL, ossl_raise(), and ossl_x509name_new().
Referenced by Init_ossl_x509req().
Definition at line 235 of file ossl_x509req.c.
References GetX509Req, LONG2NUM, and version.
Referenced by Init_ossl_x509req().
Definition at line 116 of file ossl_x509req.c.
References DATA_PTR, eX509ReqError, NULL, OSSL_BIO_reset, ossl_obj2bio(), ossl_raise(), ossl_to_der_if_possible(), and rb_scan_args().
Referenced by Init_ossl_x509req().
VALUE ossl_x509req_new | ( | X509_REQ * | req | ) |
Definition at line 55 of file ossl_x509req.c.
References cX509Req, eX509ReqError, NewX509Req, NULL, ossl_raise(), and SetX509Req.
Referenced by ossl_x509_to_text().
Definition at line 405 of file ossl_x509req.c.
References Check_Type, cX509Attr, eX509ReqError, GetX509AttrPtr(), GetX509Req, NULL, OSSL_Check_Kind, ossl_raise(), RARRAY_AREF, RARRAY_LEN, and T_ARRAY.
Referenced by Init_ossl_x509req().
Definition at line 327 of file ossl_x509req.c.
References eX509ReqError, GetPKeyPtr(), GetX509Req, key, NULL, and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 278 of file ossl_x509req.c.
References eX509ReqError, GetX509NamePtr(), GetX509Req, NULL, and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 247 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, NUM2LONG, ossl_raise(), and version.
Referenced by Init_ossl_x509req().
Definition at line 342 of file ossl_x509req.c.
References eX509ReqError, GetDigestPtr(), GetPrivPKeyPtr(), GetX509Req, NULL, and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 177 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, len, NULL, ossl_raise(), ossl_str_adjust, rb_str_new(), and RSTRING_PTR.
Referenced by Init_ossl_x509req().
Definition at line 159 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, NULL, ossl_membio2str(), and ossl_raise().
Referenced by Init_ossl_x509req().
Definition at line 197 of file ossl_x509req.c.
References eX509ReqError, GetX509Req, key, NULL, ossl_membio2str(), ossl_raise(), and ossl_x509_new().
Referenced by Init_ossl_x509req().
Definition at line 362 of file ossl_x509req.c.
References eX509ReqError, GetPKeyPtr(), GetX509Req, NULL, ossl_clear_error(), ossl_raise(), Qfalse, and Qtrue.
Referenced by Init_ossl_x509req().
VALUE cX509Req |
Definition at line 34 of file ossl_x509req.c.
Referenced by Init_ossl_x509req(), and ossl_x509req_new().
VALUE eX509ReqError |
Definition at line 35 of file ossl_x509req.c.
Referenced by DupX509ReqPtr(), Init_ossl_x509req(), ossl_x509req_add_attribute(), ossl_x509req_alloc(), ossl_x509req_copy(), ossl_x509req_get_public_key(), ossl_x509req_get_signature_algorithm(), ossl_x509req_get_subject(), ossl_x509req_initialize(), ossl_x509req_new(), ossl_x509req_set_attributes(), ossl_x509req_set_public_key(), ossl_x509req_set_subject(), ossl_x509req_set_version(), ossl_x509req_sign(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), and ossl_x509req_verify().
|
static |
Definition at line 43 of file ossl_x509req.c.