instance method
OpenSSL::SSL::SSLContext#security_level
() -> ::Integer
ctx.security_level → Integer
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_sslctx_get_security_level(VALUE self)
{
SSL_CTX *ctx;
GetSSLCTX(self, ctx);
return INT2NUM(SSL_CTX_get_security_level(ctx));
}
Returns the security level for the context.
See also OpenSSL::SSL::SSLContext#security_level=.