instance method
OpenSSL::SSL::SSLSocket#group
ssl.group => String or nil
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_ssl_get_group(VALUE self)
{
SSL *ssl;
const char *name;
GetSSL(self, ssl);
if (!(name = SSL_get0_group_name(ssl)))
return Qnil;
return rb_str_new_cstr(name);
}
Returns the name of the group that was used for the key agreement of the current TLS session establishment.