U:RDoc::AnyMethod[iI"security_level=:ETI"-OpenSSL::SSL::SSLContext#security_level=;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"RSets the security level for the context. OpenSSL limits parameters according ;TI"Nto the level. The "parameters" include: ciphersuites, curves, key sizes, ;TI"Pcertificate signature algorithms, protocol version and so on. For example, ;TI"Llevel 1 rejects parameters offering below 80 bits of security, such as ;TI"Kciphersuites using MD5 for the MAC or RSA keys shorter than 1024 bits.;To:RDoc::Markup::BlankLineo; ; [I"NNote that attempts to set such parameters with insufficient security are ;TI"5also blocked. You need to lower the level first.;T@o; ; [I"PThis feature is not supported in OpenSSL < 1.1.0, and setting the level to ;TI"Nother than 0 will raise NotImplementedError. Level 0 means everything is ;TI"Bpermitted, the same behavior as previous versions of OpenSSL.;T@o; ; [I"BSee the manpage of SSL_CTX_set_security_level(3) for details.;T: @fileI"ext/openssl/ossl_ssl.c;T:0@omit_headings_from_table_of_contents_below0I""ctx.security_level = integer ;T0[I" (p1);T@FI"SSLContext;TcRDoc::NormalClass00