Module: OpenSSL::Cipher
- Defined in:
- lib/openssl/cipher.rb,
ossl_cipher.c
Defined Under Namespace
Classes: Cipher
Class Method Summary collapse
Class Method Details
.ciphers ⇒ Object
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'ossl_cipher.c', line 127
static VALUE
ossl_s_ciphers(VALUE self)
{
#ifdef HAVE_OBJ_NAME_DO_ALL_SORTED
VALUE ary;
ary = rb_ary_new();
OBJ_NAME_do_all_sorted(OBJ_NAME_TYPE_CIPHER_METH,
(void(*)(const OBJ_NAME*,void*))add_cipher_name_to_ary,
(void*)ary);
return ary;
#else
rb_notimplement();
#endif
}
|