JezK
Edit File: min_version%3d-i.ri
U:RDoc::AnyMethod[iI"min_version=:ETI"*OpenSSL::SSL::SSLContext#min_version=;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ISets the lower bound on the supported SSL/TLS protocol version. The ;TI";version may be specified by an integer constant named ;TI"KOpenSSL::SSL::*_VERSION, a Symbol, or +nil+ which means "any version".;To:RDoc::Markup::BlankLine o; ; [I"IBe careful that you don't overwrite OpenSSL::SSL::OP_NO_{SSL,TLS}v* ;TI"@options by #options= once you have called #min_version= or ;TI"#max_version=.;T@S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"(ctx = OpenSSL::SSL::SSLContext.new ;TI"4ctx.min_version = OpenSSL::SSL::TLS1_1_VERSION ;TI"4ctx.max_version = OpenSSL::SSL::TLS1_2_VERSION ;TI" ;TI"7sock = OpenSSL::SSL::SSLSocket.new(tcp_sock, ctx) ;TI"Jsock.connect # Initiates a connection using either TLS 1.1 or TLS 1.2;T:@format0: @fileI"#ext/openssl/lib/openssl/ssl.rb;T:0@omit_headings_from_table_of_contents_below0I"dctx.min_version = OpenSSL::SSL::TLS1_2_VERSION ctx.min_version = :TLS1_2 ctx.min_version = nil ;T0[ I"(version);T@ FI"SSLContext;TcRDoc::NormalClass00