summaryrefslogtreecommitdiffstats
path: root/sample/openssl
Commit message (Collapse)AuthorAgeFilesLines
* * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.knu2006-10-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.gotoyuzo2006-06-201-4/+8
| | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method OpenSSL::Cipher.ciphers. it returns all the cipher names. * ext/openssl/lib/openssl/cipher.rb: - add constants AES128, AES192, AES256. [ruby-dev:28610] - reimplement without eval() * ext/openssl/lib/openssl/digest.rb: reimplement without eval(). * test/openssl/test_cipher.rb, test_digest: fix about reimplemented features. * sample/openssl/cipher.rb: rewrite all. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl/gen_csr.rb: wrong usage string.nahi2004-01-311-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* untypogotoyuzo2004-01-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backport from Ruby-1.9.gotoyuzo2004-01-291-6/+2
| | | | | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_x509hame.c (ossl_x509name_initialize): change second argument. it expected to be a Hash not an Integer. * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): add new function for OpenSSL::X509::Name#add_entry. * ext/openssl/ossl_x509name.c (ossl_x509name_to_a): append ASN.1 tag number to each element of return value. * ext/openssl/ossl_x509name.c (Init_ossl_x509name): add constants OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE and OBJECT_TYPE_TEMPLATE. * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#initialize): second argument takes OBJECT_TYPE_TEMPLATE by default. * sample/openssl/gen_csr.rb: use OpenSSL::X509::Name.parse. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl/gen_csr.rb: there (at least) is a CA which does not accept DNnahi2003-11-051-3/+4
| | | | | | | in UTF8STRING format. it's a sample. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl: added. Sample of standard distribution library should benahi2003-09-0412-0/+1650
locate in sample/{module_name}/*. * ext/openssl/sample/*: removed. move to sample/openssl/*. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e