Method: OpenSSL::Cipher.ciphers
- Defined in:
- ossl_cipher.c
.OpenSSL::Cipher.ciphers ⇒ Object
Returns the names of all available ciphers in an array.
165 166 167 168 169 170 171 172 173 174 175 176 |
# File 'ossl_cipher.c', line 165
static VALUE
ossl_s_ciphers(VALUE self)
{
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;
}
|