348
372
rb_define_alias(cX509Name, "<=>", "cmp");
349
373
rb_define_method(cX509Name, "eql?", ossl_x509name_eql, 1);
350
374
rb_define_method(cX509Name, "hash", ossl_x509name_hash, 0);
376
rb_define_method(cX509Name, "hash_old", ossl_x509name_hash_old, 0);
351
378
rb_define_method(cX509Name, "to_der", ossl_x509name_to_der, 0);
353
380
utf8str = INT2NUM(V_ASN1_UTF8STRING);